Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade all deps #17

Merged
merged 1 commit into from
Apr 25, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .autod.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ module.exports = {
'eslint',
'eslint-config-egg',
'supertest',
'should',
],
exclude: [
'./test/fixtures',
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)
MIT License

Copyright (c) Alibaba Group Holding Limited and other contributors.
Copyright (c) 2017 Alibaba Group Holding Limited and other contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ $ npm i egg-schedule --save
```javascript
// {app_root}/config/plugin.js
exports.schedule = {
package: 'egg-schedule'
package: 'egg-schedule',
};

// {app_root}/app/schedule/cleandb.js
Expand Down Expand Up @@ -127,7 +127,7 @@ Example:
// To execute task every 3 hours
exports.schedule = {
type: 'worker',
cron: '0 0 */3 * * *'
cron: '0 0 */3 * * *',
};
```

Expand All @@ -141,7 +141,7 @@ Example:
// To execute task every 3 hours
exports.schedule = {
type: 'worker',
interval: '3h'
interval: '3h',
};
```

Expand Down Expand Up @@ -169,7 +169,7 @@ module.exports = agent => {

// {app_root}/app/schedule/other.js
exports.schedule = {
type: 'custom'
type: 'custom',
};
```

Expand Down
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
],
"dependencies": {
"co": "^4.6.0",
"cron-parser": "^2.3.0",
"cron-parser": "^2.3.1",
"humanize-ms": "^1.2.0",
"is-type-of": "^1.0.0"
},
"devDependencies": {
"autod": "^2.7.1",
"egg": "^0.9.0",
"egg-bin": "^2.0.2",
"egg-ci": "^1.1.0",
"egg-mock": "^2.3.1",
"eslint": "^3.14.1",
"egg": "^1.0.0-rc.2",
"egg-bin": "^2.2.3",
"egg-ci": "^1.5.0",
"egg-mock": "^3.1.1",
"eslint": "^3.17.0",
"eslint-config-egg": "^3.2.0",
"supertest": "^3.0.0"
},
Expand All @@ -49,7 +49,9 @@
"autod": "autod"
},
"ci": {
"version": "6, 7"
"version": "6, 7",
"license": true
},
"author": "dead_horse"
"author": "dead_horse",
"license": "MIT"
}
2 changes: 0 additions & 2 deletions test/schedule.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const path = require('path');
const fs = require('fs');
const assert = require('assert');


describe('test/schedule.test.js', () => {
let app;
afterEach(() => app.close());
Expand Down Expand Up @@ -214,7 +213,6 @@ describe('test/schedule.test.js', () => {
assert(app.schedules);
});
});

});

function sleep(time) {
Expand Down