|
@@ -1,23 +1,23 @@
|
|
{
|
|
{
|
|
- "name": "service-template",
|
|
|
|
|
|
+ "name": "cms-service",
|
|
"version": "1.0.0",
|
|
"version": "1.0.0",
|
|
- "description": "smart jobs platform service template",
|
|
|
|
|
|
+ "description": "smart jobs platform cms service",
|
|
"private": true,
|
|
"private": true,
|
|
"egg": {
|
|
"egg": {
|
|
"framework": "naf-framework-mongoose"
|
|
"framework": "naf-framework-mongoose"
|
|
},
|
|
},
|
|
"dependencies": {
|
|
"dependencies": {
|
|
- "egg": "^2.14.1",
|
|
|
|
- "egg-scripts": "^2.10.0",
|
|
|
|
|
|
+ "egg": "^2.20.0",
|
|
|
|
+ "egg-scripts": "^2.11.0",
|
|
"naf-framework-mongoose": "^0.5.17"
|
|
"naf-framework-mongoose": "^0.5.17"
|
|
},
|
|
},
|
|
"devDependencies": {
|
|
"devDependencies": {
|
|
"autod": "^3.0.1",
|
|
"autod": "^3.0.1",
|
|
"autod-egg": "^1.1.0",
|
|
"autod-egg": "^1.1.0",
|
|
- "egg-bin": "^4.9.0",
|
|
|
|
- "egg-ci": "^1.10.0",
|
|
|
|
- "egg-mock": "^3.20.1",
|
|
|
|
- "eslint": "^5.9.0",
|
|
|
|
|
|
+ "egg-bin": "^4.11.1",
|
|
|
|
+ "egg-ci": "^1.11.0",
|
|
|
|
+ "egg-mock": "^3.21.0",
|
|
|
|
+ "eslint": "^5.15.1",
|
|
"eslint-config-egg": "^7.1.0",
|
|
"eslint-config-egg": "^7.1.0",
|
|
"eslint-config-egg-naf": "0.0.3",
|
|
"eslint-config-egg-naf": "0.0.3",
|
|
"webstorm-disable-index": "^1.2.0"
|
|
"webstorm-disable-index": "^1.2.0"
|
|
@@ -26,8 +26,8 @@
|
|
"node": ">=8.9.0"
|
|
"node": ">=8.9.0"
|
|
},
|
|
},
|
|
"scripts": {
|
|
"scripts": {
|
|
- "start": "egg-scripts start --daemon --title=service-tmpl",
|
|
|
|
- "stop": "egg-scripts stop --title=service-tmpl",
|
|
|
|
|
|
+ "start": "egg-scripts start --daemon --title=cms-service",
|
|
|
|
+ "stop": "egg-scripts stop --title=cms-service",
|
|
"dev": "egg-bin dev",
|
|
"dev": "egg-bin dev",
|
|
"debug": "egg-bin debug",
|
|
"debug": "egg-bin debug",
|
|
"test": "npm run lint -- --fix && npm run test-local",
|
|
"test": "npm run lint -- --fix && npm run test-local",
|
|
@@ -37,7 +37,7 @@
|
|
"ci": "npm run lint && npm run cov",
|
|
"ci": "npm run lint && npm run cov",
|
|
"autod": "autod",
|
|
"autod": "autod",
|
|
"pm2": "pm2 start",
|
|
"pm2": "pm2 start",
|
|
- "restart": "pm2 restart service-tmpl"
|
|
|
|
|
|
+ "restart": "pm2 restart cms-service"
|
|
},
|
|
},
|
|
"ci": {
|
|
"ci": {
|
|
"version": "8"
|
|
"version": "8"
|