rename deving/preping/proding to serving-*

This commit is contained in:
Luk Lu
2023-10-07 11:25:41 +08:00
parent 6c639699d0
commit ddec12e5c1

View File

@@ -4,10 +4,10 @@
"scripts": {
"allinone": "npm run boot && npm run create && npm run deploy",
"boot": "npx rimraf node_modules package-lock.json & npm i",
"check": "umi dev",
"create": "umi build",
"deploy": "node ./node_modules/wo-base-deployer/deploy.js",
"serve-pm2": "cross-env NODE_ENV=production pm2 start ./node_modules/wo-base-webserver/webserver.js --name vic.user.react",
"serving-dev": "umi dev",
"serving-prod": "cross-env NODE_ENV=production pm2 start ./node_modules/wo-base-webserver/webserver.js --name vic.user.react",
"lint:es": "eslint --ext .js src mock tests",
"lint:ts": "tslint \"src/**/*.ts\" \"src/**/*.tsx\"",
"test": "umi test"
@@ -47,8 +47,6 @@
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.11.1",
"hexo-fs": "^2.0.0",
"hexo-util": "^1.0.0",
"lint-staged": "^9.2.3",
"moment": "^2.24.0",
"nodemon": "^2.0.2",