[package.json] simplify boot script

This commit is contained in:
Luk Lu
2022-05-14 12:27:49 +08:00
parent f571833882
commit 22e2aac405

View File

@@ -3,9 +3,7 @@
"name": "vic.user.react",
"scripts": {
"allinone": "npm run boot && npm run create && npm run deploy",
"boot": "npm i run-script-os && run-script-os",
"boot:nix": "rm -fr node_modules && rm -fr package-lock.json && npm i",
"boot:windows": "npx rimraf node_modules package-lock.json & npm i",
"boot": "npx rimraf node_modules package-lock.json & npm i",
"check": "umi dev",
"create": "umi build",
"deploy": "node ./node_modules/base.deployer/deploy.js",
@@ -59,8 +57,6 @@
"nodemon": "^2.0.2",
"pm2": "^5.1.2",
"react-test-renderer": "^16.7.0",
"rimraf": "^3.0.2",
"run-script-os": "^1.1.6",
"supervisor": "^0.12.0",
"swig-templates": "^2.0.3",
"tslint": "^5.19.0",