egg-boilerplate-empty
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -7,3 +7,3 @@ { | ||
"dependencies": { | ||
"egg": "^0.5.0" | ||
"egg": "^0.6.3" | ||
}, | ||
@@ -17,6 +17,4 @@ "devDependencies": { | ||
"eslint-config-egg": "^3.2.0", | ||
"intelli-espower-loader": "^1.0.1", | ||
"power-assert": "^1.4.2", | ||
"supertest": "^2.0.1", | ||
"webstorm-disable-index": "^1.0.11" | ||
"webstorm-disable-index": "^1.1.2" | ||
}, | ||
@@ -30,4 +28,4 @@ "engines": { | ||
"test": "npm run lint -- --fix && npm run test-local", | ||
"test-local": "egg-bin test -r intelli-espower-loader", | ||
"cov": "egg-bin cov -r intelli-espower-loader", | ||
"test-local": "egg-bin test", | ||
"cov": "egg-bin cov", | ||
"lint": "eslint .", | ||
@@ -34,0 +32,0 @@ "ci": "npm run lint && npm run cov", |
@@ -19,4 +19,2 @@ 'use strict'; | ||
'supertest', | ||
'power-assert', | ||
'intelli-espower-loader', | ||
'webstorm-disable-index', | ||
@@ -23,0 +21,0 @@ ], |
'use strict'; | ||
module.exports = () => { | ||
const exports = {}; | ||
module.exports = appInfo => { | ||
const config = {}; | ||
return exports; | ||
// should change to your own | ||
config.keys = appInfo.name + '123456'; | ||
return config; | ||
}; |
'use strict'; | ||
// npm run dev DO NOT read this file | ||
const isLocal = process.env.NODE_ENV !== 'production' && !process.env.EGG_SERVER_ENV; | ||
@@ -4,0 +6,0 @@ |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const mm = require('egg-mock'); | ||
const assert = require('power-assert'); | ||
const assert = require('assert'); | ||
@@ -8,0 +8,0 @@ describe('test/app/controller/home.test.js', () => { |
1.0.2 / 2017-01-05 | ||
================== | ||
* test: update egg-bin and adjust assert (#3) | ||
1.0.1 / 2016-11-21 | ||
@@ -3,0 +8,0 @@ ================== |
{ | ||
"name": "egg-boilerplate-empty", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "empty boilerplate for egg simple project", | ||
@@ -28,7 +28,7 @@ "scripts": { | ||
"egg-ci": "^1.1.0", | ||
"egg-init": "^1.5.0", | ||
"eslint": "^3.10.2", | ||
"egg-init": "^1.6.1", | ||
"eslint": "^3.12.2", | ||
"eslint-config-egg": "^3.2.0", | ||
"npminstall": "^2.12.1", | ||
"webstorm-disable-index": "^1.0.11" | ||
"npminstall": "^2.16.0", | ||
"webstorm-disable-index": "^1.1.2" | ||
}, | ||
@@ -35,0 +35,0 @@ "ci": { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9380
26
81
39
0