Skip to content

Commit

Permalink
chore: upgrade deps and fix test (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
popomore authored Feb 2, 2017
1 parent 88bd522 commit 15fa82a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 14 deletions.
1 change: 1 addition & 0 deletions .autod.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
'egg',
'autod',
'egg-bin',
'egg-ci',
'eslint',
'eslint-config-egg'
]
Expand Down
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
coverage
run
run
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
sudo: false
language: node_js
node_js:
- '4'
- '6'
- '7'
install:
- npm i npminstall && npminstall
script:
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
environment:
matrix:
- nodejs_version: '4'
- nodejs_version: '6'
- nodejs_version: '7'

install:
- ps: Install-Product node $env:nodejs_version
Expand Down
24 changes: 13 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"name": "userservice"
},
"scripts": {
"lint": "eslint . --fix",
"test": "egg-bin test",
"lint": "eslint .",
"test": "npm run lint -- --fix && egg-bin test",
"cov": "egg-bin cov",
"ci": "npm run lint && npm run cov",
"autod-china": "autod --registry=https://registry.npm.taobao.org",
Expand All @@ -24,6 +24,8 @@
},
"keywords": [
"egg",
"egg-plugin",
"eggPlugin",
"userservice",
"session"
],
Expand All @@ -38,18 +40,18 @@
},
"devDependencies": {
"autod": "^2.7.1",
"egg": "^0.1.2",
"egg-bin": "^1.3.0",
"egg-ci": "^1.0.2",
"egg-mock": "^0.0.4",
"eslint": "^3.4.0",
"eslint-config-egg": "^3.1.0",
"supertest": "^2.0.0"
"egg": "^0.9.0",
"egg-bin": "^2.0.2",
"egg-ci": "^1.1.0",
"egg-mock": "^2.3.1",
"eslint": "^3.14.1",
"eslint-config-egg": "^3.2.0",
"supertest": "^3.0.0"
},
"engines": {
"node": ">= 4.0.0"
"node": ">= 6.0.0"
},
"ci": {
"version": "4, 6"
"version": "6, 7"
}
}

0 comments on commit 15fa82a

Please sign in to comment.