mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Make npm run clean platform agnostic (#1901)
* Make npm run clean platform agnostic * Use rimraf-standalone.js instead of a global install
This commit is contained in:
parent
056c88f741
commit
38db5095d9
2 changed files with 3719 additions and 2 deletions
3716
bin/rimraf-standalone.js
Normal file
3716
bin/rimraf-standalone.js
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -13,7 +13,7 @@
|
||||||
"postinstall": "install-app-deps && npm run rebuild-node-pty",
|
"postinstall": "install-app-deps && npm run rebuild-node-pty",
|
||||||
"rebuild-node-pty": "electron-rebuild -f -w app/node_modules/node-pty -m app",
|
"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",
|
"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": "npm cache clear && rm -rf node_modules && rm -rf app/node_modules && rm -rf app/dist"
|
"clean": "node ./bin/rimraf-standalone.js node_modules && node ./bin/rimraf-standalone.js ./app/node_modules && node ./bin/rimraf-standalone.js ./app/dist"
|
||||||
},
|
},
|
||||||
"xo": {
|
"xo": {
|
||||||
"extends": "xo-react",
|
"extends": "xo-react",
|
||||||
|
|
@ -35,7 +35,8 @@
|
||||||
"app/dist/**",
|
"app/dist/**",
|
||||||
"app/static/**",
|
"app/static/**",
|
||||||
"assets/**",
|
"assets/**",
|
||||||
"website/**"
|
"website/**",
|
||||||
|
"bin/**"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue