|
3 | 3 | "description": "The best job scheduler for Node.js and JavaScript with cron, dates, ms, later, and human-friendly support. Works in Node v12.11.0+, uses worker threads to spawn sandboxed processes, and supports async/await, retries, throttling, concurrency, and cancelable promises (graceful shutdown). Simple, fast, and lightweight. Made for Forward Email and Lad.",
|
4 | 4 | "version": "8.0.3",
|
5 | 5 | "author": "Nick Baugh <[email protected]> (http://niftylettuce.com/)",
|
6 |
| - "ava": { |
7 |
| - "files": [ |
8 |
| - "test/*.js", |
9 |
| - "test/**/*.js", |
10 |
| - "!test/jobs", |
11 |
| - "!test/noIndexJobs" |
12 |
| - ], |
13 |
| - "verbose": true, |
14 |
| - "require": [ |
15 |
| - "events.once/polyfill" |
16 |
| - ] |
17 |
| - }, |
18 | 6 | "bugs": {
|
19 | 7 | "url": "https://github.com/breejs/bree/issues",
|
20 | 8 |
|
|
25 | 13 | ],
|
26 | 14 | "dependencies": {
|
27 | 15 | "@breejs/later": "^4.1.0",
|
28 |
| - "boolean": "^3.1.4", |
| 16 | + "boolean": "^3.2.0", |
29 | 17 | "combine-errors": "^3.0.3",
|
30 | 18 | "cron-validate": "^1.4.3",
|
31 |
| - "debug": "^4.3.3", |
| 19 | + "debug": "^4.3.4", |
32 | 20 | "human-interval": "^2.0.1",
|
33 | 21 | "is-string-and-not-blank": "^0.0.2",
|
34 | 22 | "is-valid-path": "^0.1.1",
|
|
37 | 25 | "safe-timers": "^1.1.0"
|
38 | 26 | },
|
39 | 27 | "devDependencies": {
|
40 |
| - "@commitlint/cli": "latest", |
41 |
| - "@commitlint/config-conventional": "latest", |
| 28 | + "@commitlint/cli": "^17.0.2", |
| 29 | + "@commitlint/config-conventional": "^17.0.2", |
42 | 30 | "@goto-bus-stop/envify": "^5.0.0",
|
43 |
| - "@sinonjs/fake-timers": "^8.1.0", |
44 |
| - "@types/node": "^14.0.0", |
| 31 | + "@sinonjs/fake-timers": "^9.1.2", |
| 32 | + "@types/node": "^17.0.40", |
45 | 33 | "@types/safe-timers": "^1.1.0",
|
46 |
| - "ava": "latest", |
47 |
| - "codecov": "latest", |
48 |
| - "cross-env": "latest", |
| 34 | + "@typescript-eslint/eslint-plugin": "^5.27.0", |
| 35 | + "@typescript-eslint/parser": "^5.27.0", |
| 36 | + "ava": "^4.3.0", |
| 37 | + "cross-env": "^7.0.3", |
49 | 38 | "delay": "^5.0.0",
|
50 | 39 | "dtslint": "^4.2.1",
|
51 |
| - "eslint": "^8.5.0", |
52 |
| - "eslint-config-xo-lass": "latest", |
53 |
| - "eslint-plugin-compat": "^4.0.0", |
| 40 | + "eslint": "^8.17.0", |
| 41 | + "eslint-config-xo-lass": "^2.0.1", |
| 42 | + "eslint-plugin-compat": "^4.0.2", |
54 | 43 | "eslint-plugin-node": "^11.1.0",
|
55 | 44 | "events.once": "^2.0.2",
|
56 | 45 | "fixpack": "latest",
|
57 |
| - "husky": "^7.0.4", |
| 46 | + "husky": "^8.0.1", |
58 | 47 | "into-stream": "^7.0.0",
|
59 |
| - "lint-staged": "latest", |
60 |
| - "nyc": "latest", |
61 |
| - "remark-cli": "latest", |
62 |
| - "remark-preset-github": "latest", |
| 48 | + "lint-staged": "^13.0.0", |
| 49 | + "nyc": "^15.1.0", |
| 50 | + "remark-cli": "^10.0.1", |
| 51 | + "remark-preset-github": "^4.0.4", |
63 | 52 | "unassertify": "^2.1.1",
|
64 |
| - "xo": "^0.47.0" |
| 53 | + "xo": "^0.49.0" |
65 | 54 | },
|
66 | 55 | "engines": {
|
67 | 56 | "node": ">= 12.11.0"
|
|
163 | 152 | },
|
164 | 153 | "scripts": {
|
165 | 154 | "ava": "cross-env NODE_ENV=test ava",
|
166 |
| - "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", |
167 | 155 | "dtslint": "cross-env NODE_ENV=test dtslint types",
|
168 |
| - "lint": "yarn run lint:js && yarn run lint:md", |
| 156 | + "lint": "npm run lint:js && npm run lint:md", |
169 | 157 | "lint:js": "xo --ignore examples/",
|
170 | 158 | "lint:md": "remark . -qfo",
|
171 | 159 | "nyc": "cross-env NODE_ENV=test nyc ava",
|
172 | 160 | "prepare": "husky install",
|
173 |
| - "pretest": "yarn run lint", |
174 |
| - "test": "yarn run ava && yarn run dtslint", |
175 |
| - "test-coverage": "cross-env NODE_ENV=test nyc yarn run test" |
| 161 | + "pretest": "npm run lint", |
| 162 | + "test": "npm run ava && npm run dtslint", |
| 163 | + "test-coverage": "cross-env NODE_ENV=test nyc npm run test" |
176 | 164 | },
|
177 |
| - "types": "types", |
178 |
| - "xo": { |
179 |
| - "prettier": true, |
180 |
| - "space": true, |
181 |
| - "extends": [ |
182 |
| - "xo-lass" |
183 |
| - ], |
184 |
| - "ignore": [ |
185 |
| - "config.js" |
186 |
| - ], |
187 |
| - "rules": { |
188 |
| - "capitalized-comments": "off", |
189 |
| - "unicorn/catch-error-name": "off", |
190 |
| - "unicorn/require-post-message-target-origin": "off", |
191 |
| - "node/no-unsupported-features/node-builtins": [ |
192 |
| - "error", |
193 |
| - { |
194 |
| - "ignores": [ |
195 |
| - "events.once" |
196 |
| - ] |
197 |
| - } |
198 |
| - ] |
199 |
| - }, |
200 |
| - "overrides": [ |
201 |
| - { |
202 |
| - "files": [ |
203 |
| - "test/jobs/*.js" |
204 |
| - ], |
205 |
| - "rules": { |
206 |
| - "unicorn/no-process-exit": "off" |
207 |
| - } |
208 |
| - }, |
209 |
| - { |
210 |
| - "files": [ |
211 |
| - "*.ts" |
212 |
| - ], |
213 |
| - "parserOptions": { |
214 |
| - "project": [ |
215 |
| - "types/tsconfig.json" |
216 |
| - ] |
217 |
| - } |
218 |
| - }, |
219 |
| - { |
220 |
| - "files": [ |
221 |
| - "types/tests.ts" |
222 |
| - ], |
223 |
| - "rules": { |
224 |
| - "@typescript-eslint/no-unused-vars": "off", |
225 |
| - "@typescript-eslint/no-empty-function": "off", |
226 |
| - "@typescript-eslint/no-unsafe-assignment": "off", |
227 |
| - "@typescript-eslint/no-unsafe-call": "off" |
228 |
| - } |
229 |
| - } |
230 |
| - ], |
231 |
| - "parser": "@typescript-eslint/parser" |
232 |
| - } |
| 165 | + "types": "types" |
233 | 166 | }
|
0 commit comments