rename deving/preping/proding to serving-*
This commit is contained in:
@@ -4,10 +4,10 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"allinone": "npm run boot && npm run create && npm run deploy",
|
"allinone": "npm run boot && npm run create && npm run deploy",
|
||||||
"boot": "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",
|
"create": "umi build",
|
||||||
"deploy": "node ./node_modules/wo-base-deployer/deploy.js",
|
"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:es": "eslint --ext .js src mock tests",
|
||||||
"lint:ts": "tslint \"src/**/*.ts\" \"src/**/*.tsx\"",
|
"lint:ts": "tslint \"src/**/*.ts\" \"src/**/*.tsx\"",
|
||||||
"test": "umi test"
|
"test": "umi test"
|
||||||
@@ -47,8 +47,6 @@
|
|||||||
"eslint-plugin-import": "^2.14.0",
|
"eslint-plugin-import": "^2.14.0",
|
||||||
"eslint-plugin-jsx-a11y": "^6.2.3",
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
||||||
"eslint-plugin-react": "^7.11.1",
|
"eslint-plugin-react": "^7.11.1",
|
||||||
"hexo-fs": "^2.0.0",
|
|
||||||
"hexo-util": "^1.0.0",
|
|
||||||
"lint-staged": "^9.2.3",
|
"lint-staged": "^9.2.3",
|
||||||
"moment": "^2.24.0",
|
"moment": "^2.24.0",
|
||||||
"nodemon": "^2.0.2",
|
"nodemon": "^2.0.2",
|
||||||
|
|||||||
Reference in New Issue
Block a user