删除deploy.js,换用 npm/deployer 包

This commit is contained in:
Luk Lu
2019-09-10 12:52:45 +08:00
parent 4f1c714af1
commit d038a6f684
3 changed files with 2 additions and 126 deletions

View File

@@ -5,7 +5,7 @@
"scripts": {
"dev": "vue-cli-service serve",
"dist": "vue-cli-service build",
"deploy": "node ./deploy.js",
"deploy": "node ./node_modules/deployer/deploy.js",
"daemon": "cross-env NODE_ENV=production node server.js",
"daemon.sup": "cross-env NODE_ENV=production supervisor -i data.log,node_modules,dist -- server.js",
"daemon.pm2": "cross-env NODE_ENV=production pm2 start server.js -name node.console.web",
@@ -49,8 +49,8 @@
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^23.0.1",
"babel-plugin-transform-imports": "^1.5.1",
"deployer": "git+https://git.faronear.org/npm/deployer",
"node-sass": "^4.9.0",
"node-ssh": "^5.1.2",
"sass-loader": "^7.0.1",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",