Merge branch 'express' of http://gitlab.yanky.cn/liaili/www.fudou6.com into express
* 'express' of http://gitlab.yanky.cn/liaili/www.fudou6.com: 使用pm2 start
Showing
| ... | @@ -3,7 +3,9 @@ | ... | @@ -3,7 +3,9 @@ |
| "version": "0.0.0", | "version": "0.0.0", | ||
| "private": true, | "private": true, | ||
| "scripts": { | "scripts": { | ||
| "start": "node --harmony ./bin/www" | "start": "pm2 start ./bin/www --name=www.fudou6.com", | ||
| "stop": "pm2 stop www.fudou6.com", | |||
| "restart": "pm2 restart www.fudou6.com" | |||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "babel-plugin-transform-es2015-sticky-regex": "^6.8.0", | "babel-plugin-transform-es2015-sticky-regex": "^6.8.0", | ||
| ... | @@ -28,4 +30,4 @@ | ... | @@ -28,4 +30,4 @@ |
| "babel-preset-es2015": "^6.9.0", | "babel-preset-es2015": "^6.9.0", | ||
| "babel-preset-stage-0": "^6.5.0" | "babel-preset-stage-0": "^6.5.0" | ||
| } | } | ||
| } | } | ||
| \ No newline at end of file |
Please
register
or
sign in
to comment