Browse Source

更新 'package.json'

修改发布类型
wangyong 5 years ago
parent
commit
5fa854bca2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -8,7 +8,8 @@
     "dev": "cross-env NODE_ENV=development nodemon server/index.js --watch server",
     "dev": "cross-env NODE_ENV=development nodemon server/index.js --watch server",
     "build": "nuxt build",
     "build": "nuxt build",
     "start": "cross-env NODE_ENV=production node server/index.js",
     "start": "cross-env NODE_ENV=production node server/index.js",
-    "generate": "nuxt generate"
+    "generate": "nuxt generate",
+    "pm2": "pm2 start npm",
   },
   },
   "dependencies": {
   "dependencies": {
     "@nuxtjs/axios": "^5.0.0",
     "@nuxtjs/axios": "^5.0.0",