Make builds work again and catch squirrel errors on windows (#2078)
* Catch errors for electron-squirrel-startup * Made builds work again * linting * linting
This commit is contained in:
parent
be8e0cce29
commit
de8e70f935
6 changed files with 26 additions and 15 deletions
|
|
@ -12,8 +12,8 @@
|
|||
"prepush": "npm test",
|
||||
"postinstall": "electron-builder install-app-deps && npm run rebuild-node-pty",
|
||||
"rebuild-node-pty": "electron-rebuild -f -w app/node_modules/node-pty -m app",
|
||||
"dist": "npm run build && cross-env BABEL_ENV=production babel --out-file app/dist/bundle.js --no-comments --minified app/dist/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/dist"
|
||||
"dist": "npm run build && cross-env BABEL_ENV=production babel --out-file app/renderer/bundle.js --no-comments --minified app/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"
|
||||
},
|
||||
"xo": {
|
||||
"extends": "xo-react",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue