|
|
|
@ -14,9 +14,7 @@
|
|
|
|
|
},
|
|
|
|
|
"main": "main.js",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"prepare": "patch-package",
|
|
|
|
|
"postinstall": "yarn custom-react-mentions-build && electron-builder install-app-deps && rimraf node_modules/dtrace-provider && husky install",
|
|
|
|
|
"custom-react-mentions-build": "cd node_modules/react-mentions && yarn install --node_modules=../node_modules && yarn build && rimraf node_modules/react node_modules/react-dom && cd ..",
|
|
|
|
|
"postinstall": "electron-builder install-app-deps && rimraf node_modules/dtrace-provider && husky install",
|
|
|
|
|
"start": "cross-env NODE_APP_INSTANCE=$MULTI electron .",
|
|
|
|
|
"start-prod": "cross-env NODE_ENV=production NODE_APP_INSTANCE=devprod$MULTI electron .",
|
|
|
|
|
"start-swarm-test": "cross-env NODE_ENV=swarm-testing NODE_APP_INSTANCE=$MULTI electron .",
|
|
|
|
@ -42,7 +40,7 @@
|
|
|
|
|
"format-full": "prettier --list-different --write \"*.{css,js,json,scss,ts,tsx}\" \"./**/*.{css,js,json,scss,ts,tsx}\"",
|
|
|
|
|
"transpile": "tsc --incremental",
|
|
|
|
|
"transpile:watch": "tsc -w",
|
|
|
|
|
"clean-transpile": "rimraf ts/**/*.js && rimraf ts/*.js && rimraf tsconfig.tsbuildinfo;",
|
|
|
|
|
"clean-transpile": "rimraf ts/**/*.js ts/*.js ts/*.js.map ts/**/*.js.map && rimraf tsconfig.tsbuildinfo;",
|
|
|
|
|
"ready": "yarn clean-transpile; yarn grunt && yarn lint-full && yarn test"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
@ -77,7 +75,7 @@
|
|
|
|
|
"jquery": "3.3.1",
|
|
|
|
|
"jsbn": "1.1.0",
|
|
|
|
|
"libsodium-wrappers": "^0.7.8",
|
|
|
|
|
"linkify-it": "2.0.3",
|
|
|
|
|
"linkify-it": "3.0.2",
|
|
|
|
|
"lodash": "4.17.11",
|
|
|
|
|
"long": "^4.0.0",
|
|
|
|
|
"mic-recorder-to-mp3": "^2.2.2",
|
|
|
|
@ -98,7 +96,7 @@
|
|
|
|
|
"react-emoji-render": "^1.2.4",
|
|
|
|
|
"react-h5-audio-player": "^3.2.0",
|
|
|
|
|
"react-intersection-observer": "^8.30.3",
|
|
|
|
|
"react-mentions": "https://github.com/Bilb/react-mentions",
|
|
|
|
|
"react-mentions": "^4.2.0",
|
|
|
|
|
"react-portal": "^4.2.0",
|
|
|
|
|
"react-qr-svg": "^2.2.1",
|
|
|
|
|
"react-redux": "7.2.1",
|
|
|
|
@ -126,7 +124,7 @@
|
|
|
|
|
"@types/blueimp-load-image": "^2.23.8",
|
|
|
|
|
"@types/buffer-crc32": "^0.2.0",
|
|
|
|
|
"@types/bytebuffer": "^5.0.41",
|
|
|
|
|
"@types/chai": "4.1.2",
|
|
|
|
|
"@types/chai": "4.2.18",
|
|
|
|
|
"@types/chai-as-promised": "^7.1.2",
|
|
|
|
|
"@types/classnames": "2.2.3",
|
|
|
|
|
"@types/color": "^3.0.0",
|
|
|
|
@ -149,7 +147,7 @@
|
|
|
|
|
"@types/rc-slider": "^8.6.5",
|
|
|
|
|
"@types/react": "16.8.5",
|
|
|
|
|
"@types/react-dom": "16.8.2",
|
|
|
|
|
"@types/react-mentions": "^3.3.1",
|
|
|
|
|
"@types/react-mentions": "^4.1.1",
|
|
|
|
|
"@types/react-mic": "^12.4.1",
|
|
|
|
|
"@types/react-portal": "^4.0.2",
|
|
|
|
|
"@types/react-redux": "7.1.9",
|
|
|
|
@ -164,7 +162,7 @@
|
|
|
|
|
"arraybuffer-loader": "1.0.3",
|
|
|
|
|
"asar": "0.14.0",
|
|
|
|
|
"bower": "1.8.2",
|
|
|
|
|
"chai": "4.1.2",
|
|
|
|
|
"chai": "4.3.4",
|
|
|
|
|
"chai-as-promised": "^7.1.1",
|
|
|
|
|
"chai-bytes": "^0.1.2",
|
|
|
|
|
"css-loader": "^3.6.0",
|
|
|
|
@ -195,7 +193,6 @@
|
|
|
|
|
"node-gyp": "3.8.0",
|
|
|
|
|
"node-sass-import-once": "1.2.0",
|
|
|
|
|
"nyc": "11.4.1",
|
|
|
|
|
"patch-package": "^6.2.2",
|
|
|
|
|
"postinstall-prepare": "^1.0.1",
|
|
|
|
|
"prettier": "1.19.0",
|
|
|
|
|
"qs": "6.5.1",
|
|
|
|
|