Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

egg-boilerplate-empty

Package Overview
Dependencies
Maintainers
5
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-boilerplate-empty - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

8

boilerplate/_package.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc