fix react mentions custom build for windows

pull/1381/head
Audric Ackermann 4 years ago
parent 588ddf684c
commit 8a014301cf
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -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 .",

Loading…
Cancel
Save