Ghost/ghost/job-manager/package.json
Naz c13d8a2fa6 Added errorHandler option to customize job error logic
closes https://github.com/TryGhost/Ghost-Utils/issues/118

- Custom error handling is needed to be able to override default bree
error handling logic.
- bree bump to 4.1.0 also fixed logging errors (object Object fix in
tests)
- The handler function receives two parameters. First contains an error
that has been thrown by the job. Second, job and worker metadata
2020-12-14 16:09:36 +13:00

37 lines
840 B
JSON

{
"name": "@tryghost/job-manager",
"version": "0.5.0",
"repository": "https://github.com/TryGhost/Ghost-Utils/tree/master/packages/job-manager",
"author": "Ghost Foundation",
"license": "MIT",
"main": "index.js",
"scripts": {
"dev": "echo \"Implement me!\"",
"test": "NODE_ENV=testing mocha './test/**/*.test.js'",
"lint": "eslint . --ext .js --cache",
"posttest": "yarn lint"
},
"files": [
"index.js",
"lib"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@sinonjs/fake-timers": "6.0.1",
"date-fns": "2.16.1",
"delay": "4.4.0",
"mocha": "8.2.1",
"should": "13.2.3",
"sinon": "9.2.2"
},
"dependencies": {
"@breejs/later": "4.0.2",
"bree": "4.1.0",
"cron-validate": "1.4.1",
"fastq": "1.9.0",
"p-wait-for": "3.1.0"
}
}