This commit is contained in:
2017-01-23 03:38:59 +08:00
parent 878d9b63f6
commit f5dfeaa123
18 changed files with 403 additions and 70 deletions

View File

@ -10,7 +10,14 @@
"production": "node dist/app.js"
},
"dependencies": {
"koa": "^1.2.4"
"koa": "^2.0.0",
"koa-bodyparser": "^3.2.0",
"koa-compose": "^2.5.1",
"koa-router": "^7.0.1",
"koa-session2": "^1.0.8",
"nodemailer": "^2.7.2",
"promise-mysql": "^3.0.0",
"require-directory": "^2.1.1"
},
"devDependencies": {
"babel-cli": "^6.22.2",
@ -26,7 +33,8 @@
"eslint-plugin-standard": "^2.0.1",
"gulp": "^3.9.1",
"gulp-eslint": "^3.0.1",
"gulp-nodemon": "^2.2.1"
"gulp-nodemon": "^2.2.1",
"koa-logger": "^1.3.1"
},
"engines": {
"node": ">= 6.9.4",