|
|
|
@ -15,8 +15,8 @@
|
|
|
|
|
"main": "main.js",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"prepare": "patch-package",
|
|
|
|
|
"postinstall": "yarn custom-react-mentions-build ; electron-builder install-app-deps && rimraf node_modules/dtrace-provider",
|
|
|
|
|
"custom-react-mentions-build": "cd node_modules/react-mentions && yarn install && rm -rf node_modules/react node_modules/react-dom && ln -s $PWD/../react node_modules && ln -s $PWD/../react-dom node_modules && yarn build; cd -",
|
|
|
|
|
"postinstall": "yarn custom-react-mentions-build && electron-builder install-app-deps && rimraf node_modules/dtrace-provider",
|
|
|
|
|
"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 -",
|
|
|
|
|
"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 .",
|
|
|
|
|