[deploy.js, ConfigBasic.js] 升级部署机制,把默认参数存放在 ConfigBasic.js 里。
[package.json] 补充 cross-env 以支持 npm run daemon。
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
"scripts": {
|
||||
"dev": "vue-cli-service serve",
|
||||
"dist": "vue-cli-service build",
|
||||
"deploy": "node ./deploy.js -r '/home/tic/node.console.web' -u tic",
|
||||
"deploy": "node ./deploy.js",
|
||||
"daemon": "cross-env NODE_ENV=production supervisor -i data.log,node_modules,dist server.js",
|
||||
"lint": "vue-cli-service lint",
|
||||
"test:unit": "vue-cli-service test:unit"
|
||||
},
|
||||
@@ -42,6 +43,7 @@
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
"babel-jest": "^23.0.1",
|
||||
"babel-plugin-transform-imports": "^1.5.1",
|
||||
"cross-env": "^5.1.3",
|
||||
"node-sass": "^4.9.0",
|
||||
"node-ssh": "^5.1.2",
|
||||
"sass-loader": "^7.0.1",
|
||||
|
||||
Reference in New Issue
Block a user