egg-boilerplate-empty
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -7,3 +7,3 @@ { | ||
"dependencies": { | ||
"egg": "^0.6.3" | ||
"egg": "^0.7.0" | ||
}, | ||
@@ -14,3 +14,3 @@ "devDependencies": { | ||
"egg-ci": "^1.1.0", | ||
"egg-mock": "^1.2.0", | ||
"egg-mock": "2", | ||
"eslint": "^3.10.0", | ||
@@ -22,3 +22,3 @@ "eslint-config-egg": "^3.2.0", | ||
"engines": { | ||
"node": ">=4.0.0" | ||
"node": ">=6.0.0" | ||
}, | ||
@@ -36,3 +36,3 @@ "scripts": { | ||
"ci": { | ||
"version": "4, 6, 7" | ||
"version": "6, 7" | ||
}, | ||
@@ -39,0 +39,0 @@ "repository": { |
@@ -25,3 +25,3 @@ 'use strict'; | ||
], | ||
registry: 'https://r.cnpmjs.org', | ||
}; | ||
'use strict'; | ||
module.exports = function* homeController() { | ||
module.exports = function* home() { | ||
this.body = 'hi, egg'; | ||
}; |
'use strict'; | ||
module.exports = app => { | ||
app.get('/', app.controller.home); | ||
app.get('/', 'home'); | ||
}; |
@@ -8,3 +8,3 @@ # {{name}} | ||
### Development | ||
```shell | ||
```bash | ||
$ npm install | ||
@@ -19,3 +19,3 @@ $ npm run dev | ||
```shell | ||
```bash | ||
$ EGG_SERVER_ENV=prod npm start | ||
@@ -28,2 +28,2 @@ ``` | ||
- Use `npm run lint` to | ||
- Use `npm test` to run unit test | ||
- Use `npm test` to run unit test |
@@ -22,6 +22,6 @@ 'use strict'; | ||
return request(app.callback()) | ||
.get('/') | ||
.expect('hi, egg') | ||
.expect(200); | ||
.get('/') | ||
.expect('hi, egg') | ||
.expect(200); | ||
}); | ||
}); |
1.1.0 / 2017-01-13 | ||
================== | ||
* feat: update to egg 0.7 (#4) | ||
1.0.2 / 2017-01-05 | ||
@@ -3,0 +8,0 @@ ================== |
{ | ||
"name": "egg-boilerplate-empty", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "empty boilerplate for egg simple project", | ||
@@ -35,4 +35,4 @@ "scripts": { | ||
"ci": { | ||
"version": "4, 6, 7" | ||
"version": "6, 7" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9461
82