Skip to content

Commit

Permalink
refactor: use async function and support egg@2 (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-horse committed Nov 13, 2017
1 parent dfc8ff2 commit 6861f8f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
1 change: 0 additions & 1 deletion .autod.conf.js
Expand Up @@ -8,7 +8,6 @@ module.exports = {
'benchmark',
],
devdep: [
'egg',
'egg-ci',
'egg-bin',
'autod',
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,8 +1,8 @@
sudo: false
language: node_js
node_js:
- '6'
- '8'
- '9'
install:
- npm i npminstall && npminstall
script:
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
@@ -1,7 +1,7 @@
environment:
matrix:
- nodejs_version: '6'
- nodejs_version: '8'
- nodejs_version: '9'

install:
- ps: Install-Product node $env:nodejs_version
Expand Down
20 changes: 10 additions & 10 deletions package.json
Expand Up @@ -25,23 +25,23 @@
],
"dependencies": {
"cookie": "^0.3.1",
"koa-onerror": "^3.1.0",
"koa-onerror": "^4.0.0",
"mustache": "^2.3.0",
"stack-trace": "^0.0.10"
},
"devDependencies": {
"autod": "^2.9.0",
"egg": "^1.7.0",
"egg-bin": "^4.1.0",
"autod": "^3.0.0",
"egg": "next",
"egg-bin": "^4.3.5",
"egg-ci": "^1.8.0",
"egg-mock": "^3.9.0",
"eslint": "^4.4.1",
"eslint-config-egg": "^5.0.0",
"egg-mock": "^3.13.1",
"eslint": "^4.11.0",
"eslint-config-egg": "^5.1.1",
"pedding": "^1.1.0",
"rimraf": "^2.6.1"
"rimraf": "^2.6.2"
},
"engines": {
"node": ">=6.0.0"
"node": ">=8.0.0"
},
"scripts": {
"test": "npm run lint -- --fix && npm run test-local",
Expand All @@ -52,7 +52,7 @@
"autod": "autod"
},
"ci": {
"version": "6, 8"
"version": "8, 9"
},
"author": "dead_horse"
}

0 comments on commit 6861f8f

Please sign in to comment.