[package.json] 排序,把 scripts 放到最后
This commit is contained in:
parent
0bfceb637e
commit
268189c972
14
package.json
14
package.json
@ -4,13 +4,6 @@
|
||||
"description": "Launch web server",
|
||||
"main": "webserver.js",
|
||||
"author": "",
|
||||
"scripts": {
|
||||
"serving-dev-nodemon": "npx cross-env NODE_ENV=development npx nodemon webserver.js",
|
||||
"serving-dev-pm2": "npx cross-env NODE_ENV=development npx pm2 start webserver.js",
|
||||
"serving-prod-nodemon": "npx cross-env NODE_ENV=production npx nodemon webserver.js",
|
||||
"serving-prod-pm2": "npx cross-env NODE_ENV=production npx pm2 start webserver.js",
|
||||
"serving-prod-sup": "npx cross-env NODE_ENV=production npx supervisor -i node_modules,_webroot -- webserver.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"body-parser": "^1.18.2",
|
||||
"compression": "^1.7.3",
|
||||
@ -30,5 +23,12 @@
|
||||
"nodemon": "^2.0.2",
|
||||
"pm2": "^5.1.2",
|
||||
"supervisor": "^0.12.0"
|
||||
},
|
||||
"scripts": {
|
||||
"serving-dev-nodemon": "npx cross-env NODE_ENV=development npx nodemon webserver.js",
|
||||
"serving-dev-pm2": "npx cross-env NODE_ENV=development npx pm2 start webserver.js",
|
||||
"serving-prod-nodemon": "npx cross-env NODE_ENV=production npx nodemon webserver.js",
|
||||
"serving-prod-pm2": "npx cross-env NODE_ENV=production npx pm2 start webserver.js",
|
||||
"serving-prod-sup": "npx cross-env NODE_ENV=production npx supervisor -i node_modules,_webroot -- webserver.js"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user