Commit a63c95b6 authored by lixy's avatar lixy
parents eb47e0ed c1528186
{
"name": "nuxt-elm",
"name": "xxcom-mobild",
"version": "2.0.0",
"description": "Nuxt.js project",
"author": "[easytuan] <[easytuan@foxmail.com]>",
......@@ -7,7 +7,9 @@
"license": "GPL",
"scripts": {
"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:test": "cross-env MODE=test nuxt build && cross-env NODE_ENV=production MODE=test pm2 start server/index.js --node-args='--harmony' --name 'xxcom-mobild'",
"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'",
"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