Commit 1d9a24bd authored by 周健威's avatar 周健威

Update package.json

parent e94e44dc
...@@ -7,7 +7,9 @@ ...@@ -7,7 +7,9 @@
"license": "GPL", "license": "GPL",
"scripts": { "scripts": {
"dev": "cross-env NODE_ENV=development MODE=dev nodemon server/index.js --watch server", "dev": "cross-env NODE_ENV=development MODE=dev nodemon server/index.js --watch server",
"build:test": "cross-env MODE=test nuxt build"
"start": "nuxt build && cross-env NODE_ENV=production pm2 start server/index.js --node-args='--harmony' --name 'nuxt-elm'", "start": "nuxt build && cross-env NODE_ENV=production pm2 start server/index.js --node-args='--harmony' --name 'nuxt-elm'",
"start:test": "cross-env MODE=test nuxt build && cross-env NODE_ENV=production MODE=test pm2 start server/index.js --node-args='--harmony' --name 'xxfccom-mobild'",
"stop": "pm2 stop server/index.js --name 'nuxt-elm'", "stop": "pm2 stop server/index.js --name 'nuxt-elm'",
"restart": "nuxt build && cross-env NODE_ENV=production pm2 restart server/index.js --node-args='--harmony' --name 'nuxt-elm'", "restart": "nuxt build && cross-env NODE_ENV=production pm2 restart server/index.js --node-args='--harmony' --name 'nuxt-elm'",
"delete": "pm2 delete nuxt-elm", "delete": "pm2 delete nuxt-elm",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment