egg-boilerplate-simple
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -7,12 +7,12 @@ { | ||
"dependencies": { | ||
"egg": "^0.9.0" | ||
"egg": "^1.0.0-rc.2" | ||
}, | ||
"devDependencies": { | ||
"autod": "^2.7.1", | ||
"egg-bin": "^2.0.2", | ||
"egg-ci": "^1.1.0", | ||
"egg-mock": "^2.1.0", | ||
"eslint": "^3.13.1", | ||
"egg-bin": "^2.2.3", | ||
"egg-ci": "^1.3.0", | ||
"egg-mock": "^3.0.1", | ||
"eslint": "^3.16.1", | ||
"eslint-config-egg": "^3.2.0", | ||
"supertest": "^2.0.1", | ||
"supertest": "^3.0.0", | ||
"webstorm-disable-index": "^1.1.2" | ||
@@ -19,0 +19,0 @@ }, |
@@ -25,4 +25,3 @@ 'use strict'; | ||
], | ||
registry: 'https://r.cnpmjs.org', | ||
}; | ||
'use strict'; | ||
exports.index = function* index() { | ||
this.body = 'hi, egg'; | ||
module.exports = app => { | ||
class HomeController extends app.Controller { | ||
* index() { | ||
this.ctx.body = 'hi, egg'; | ||
} | ||
} | ||
return HomeController; | ||
}; |
2.2.0 / 2017-03-03 | ||
================== | ||
* chore: update deps & remove autod r config (#22) | ||
* chore: update deps & license (#21) | ||
2.1.0 / 2017-01-25 | ||
@@ -3,0 +9,0 @@ ================== |
{ | ||
"name": "egg-boilerplate-simple", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "boilerplate for egg quickstart", | ||
@@ -28,7 +28,7 @@ "scripts": { | ||
"autod": "^2.7.1", | ||
"egg-ci": "^1.1.0", | ||
"egg-init": "^1.6.1", | ||
"eslint": "^3.14.0", | ||
"egg-ci": "^1.3.0", | ||
"egg-init": "^1.8.1", | ||
"eslint": "^3.16.1", | ||
"eslint-config-egg": "^3.2.0", | ||
"npminstall": "^2.16.1", | ||
"npminstall": "^2.26.2", | ||
"webstorm-disable-index": "^1.1.2" | ||
@@ -35,0 +35,0 @@ }, |
Sorry, the diff of this file is not supported yet
11670
93