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

egg-boilerplate-framework

Package Overview
Dependencies
Maintainers
5
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-boilerplate-framework - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

.eslintignore

16

boilerplate/.autod.conf.js

@@ -6,7 +6,11 @@ 'use strict';

prefix: '^',
test: [
'test',
'benchmark',
],
test: [
'test',
'benchmark',
],
dep: [
'egg-view-nunjucks',
],
devdep: [
'egg',
'egg-ci',

@@ -20,8 +24,10 @@ 'egg-bin',

'intelli-espower-loader',
'egg-view-nunjucks',
'webstorm-disable-index',
],
exclude: [
'./test/fixtures',
'./dist',
],
registry: 'https://r.cnpmjs.org',
};

@@ -14,5 +14,5 @@ 'use strict';

* get(id) {
return { id, name: 'egg' };
return { id, name: this.config.key };
}
}
);

@@ -7,3 +7,3 @@ 'use strict';

exports.account = {
key: 'abc',
key: appInfo.name + '_123456',
};

@@ -10,0 +10,0 @@

'use strict';
const path = require('path');
const egg = require('egg');
const EGG_PATH = Symbol.for('egg#eggPath');
class Application extends egg.Application {
get [EGG_PATH]() {
return path.join(__dirname);
}
}
module.exports = Object.assign({}, egg, {
Application,
});
module.exports = require('./lib/framework.js');

@@ -6,11 +6,10 @@ {

"dependencies": {
"egg": "^0.1.3",
"egg-view-nunjucks": "^0.3.0",
"moment": "^2.14.1"
"egg-view-nunjucks": "^0.6.0"
},
"devDependencies": {
"autod": "^2",
"egg": "^0.5.0",
"egg-bin": "^1",
"egg-ci": "^1",
"egg-mock": "^0.0.4",
"egg-mock": "^1",
"eslint": "^3",

@@ -17,0 +16,0 @@ "eslint-config-egg": "^3",

'use strict';
const path = require('path');
const request = require('supertest');

@@ -12,3 +11,3 @@ const mm = require('egg-mock');

baseDir: 'example',
customEgg: path.join(__dirname, '../../'),
customEgg: true,
});

@@ -25,3 +24,3 @@ return app.ready();

.get('/')
.expect('hi, egg')
.expect('hi, framework-example_123456')
.expect(200);

@@ -28,0 +27,0 @@ });

1.1.0 / 2016-11-11
==================
* chore: fix deps (#4)
* test: add unit test (#3)
* feat: add agent (#2)
1.0.0 / 2016-09-02

@@ -3,0 +10,0 @@ ==================

@@ -6,3 +6,2 @@ 'use strict';

desc: 'framework name',
default: 'egg-example-framework',
},

@@ -9,0 +8,0 @@ description: {

{
"name": "egg-boilerplate-framework",
"version": "1.0.0",
"version": "1.1.0",
"description": "boilerplate for egg framework",
"scripts": {
"autod": "autod",
"ci": "npm run test",
"test": "npm run lint",
"lint": "eslint bin lib test index.js boilerplate"
"lint": "eslint .",
"test": "npm run lint -- --fix && npm run test-boilerplate",
"ci": "npm run lint && npm run ci-boilerplate",
"test-boilerplate": "npm run build && npm run install-deps && cd dist && npm test",
"ci-boilerplate": "npm run build && npm run install-deps && cd dist && npm run ci",
"build": "egg-init dist --force --silent --template=./",
"install-deps": "cd dist && ../node_modules/.bin/autod && ../node_modules/.bin/npminstall"
},

@@ -18,10 +22,19 @@ "homepage": "https://github.com/eggjs/egg-boilerplate-framework",

"author": "TZ <atian25@qq.com>",
"dependencies": {},
"dependencies": {
},
"devDependencies": {
"autod": "^2.7.1",
"eslint": "^3.4.0",
"eslint-config-egg": "^3.1.0",
"egg-ci": "^1.1.0",
"egg-init": "^1.4.2",
"eslint": "^3.9.1",
"eslint-config-egg": "^3.2.0",
"intelli-espower-loader": "^1.0.1",
"power-assert": "^1.4.1"
"npminstall": "^2.11.2",
"power-assert": "^1.4.1",
"webstorm-disable-index": "^1.0.11"
},
"ci": {
"version": "4, 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

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