|
@@ -1,30 +1,34 @@
|
|
|
{
|
|
|
- "name": "service-msg",
|
|
|
+ "name": "service-student",
|
|
|
"version": "1.0.0",
|
|
|
- "description": "消息",
|
|
|
+ "description": "student info service",
|
|
|
"private": true,
|
|
|
"egg": {
|
|
|
- "declarations": true
|
|
|
+ "framework": "naf-framework-mongoose"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
- "egg": "^2.15.1",
|
|
|
- "egg-scripts": "^2.11.0"
|
|
|
+ "egg": "^2.23.0",
|
|
|
+ "egg-scripts": "^2.11.0",
|
|
|
+ "jsonwebtoken": "^8.5.1",
|
|
|
+ "naf-framework-mongoose": "^0.6.11"
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
- "autod": "^3.0.1",
|
|
|
+ "autod": "^3.1.0",
|
|
|
"autod-egg": "^1.1.0",
|
|
|
- "egg-bin": "^4.11.0",
|
|
|
- "egg-ci": "^1.11.0",
|
|
|
- "egg-mock": "^3.21.0",
|
|
|
- "eslint": "^5.13.0",
|
|
|
- "eslint-config-egg": "^7.1.0"
|
|
|
+ "egg-bin": "^4.13.1",
|
|
|
+ "egg-ci": "^1.13.0",
|
|
|
+ "egg-mock": "^3.23.1",
|
|
|
+ "eslint": "^6.1.0",
|
|
|
+ "eslint-config-egg": "^7.4.1",
|
|
|
+ "eslint-config-egg-naf": "0.0.3",
|
|
|
+ "webstorm-disable-index": "^1.2.0"
|
|
|
},
|
|
|
"engines": {
|
|
|
- "node": ">=10.0.0"
|
|
|
+ "node": ">=8.9.0"
|
|
|
},
|
|
|
"scripts": {
|
|
|
- "start": "egg-scripts start --daemon --title=egg-server-service-msg",
|
|
|
- "stop": "egg-scripts stop --title=egg-server-service-msg",
|
|
|
+ "start": "egg-scripts start --daemon --title=egg-service-student",
|
|
|
+ "stop": "egg-scripts stop --title=egg-service-student",
|
|
|
"dev": "egg-bin dev",
|
|
|
"debug": "egg-bin debug",
|
|
|
"test": "npm run lint -- --fix && npm run test-local",
|
|
@@ -32,15 +36,18 @@
|
|
|
"cov": "egg-bin cov",
|
|
|
"lint": "eslint .",
|
|
|
"ci": "npm run lint && npm run cov",
|
|
|
- "autod": "autod"
|
|
|
+ "autod": "autod",
|
|
|
+ "pm2": "pm2 start",
|
|
|
+ "restart": "pm2 restart service-student",
|
|
|
+ "raml": "raml2html -i app/controller/api.raml -o app/public/api.html"
|
|
|
},
|
|
|
"ci": {
|
|
|
- "version": "10"
|
|
|
+ "version": "8"
|
|
|
},
|
|
|
"repository": {
|
|
|
"type": "git",
|
|
|
"url": ""
|
|
|
},
|
|
|
- "author": "",
|
|
|
+ "author": "dyg",
|
|
|
"license": "MIT"
|
|
|
}
|