Fix yarn install error

This commit is contained in:
Labhansh Agrawal 2019-10-01 13:42:06 +05:30 committed by Benjamin Staneck
parent 21072fb1f0
commit 95fccb8880
2 changed files with 2 additions and 18 deletions

View file

@ -12,8 +12,8 @@
"test:unit": "ava test/unit",
"test:unit:watch": "yarn run test:unit -- --watch",
"prepush": "yarn test",
"postinstall": "electron-builder install-app-deps && yarn run rebuild-node-pty",
"rebuild-node-pty": "electron-rebuild -f -w app/node_modules/node-pty -m app",
"postinstall": "webpack --config-name hyper-app && electron-builder install-app-deps && yarn run rebuild-node-pty && cp -r ./target/node_modules ./app/",
"rebuild-node-pty": "electron-rebuild -f -w target/node_modules/node-pty -m target",
"dist":
"yarn run build && cross-env BABEL_ENV=production babel --out-file target/renderer/bundle.js --no-comments --minified target/renderer/bundle.js && build",
"clean": "node ./bin/rimraf-standalone.js node_modules && node ./bin/rimraf-standalone.js ./app/node_modules && node ./bin/rimraf-standalone.js ./app/renderer"