mirror of
https://github.com/Mintplex-Labs/bree.git
synced 2026-07-18 18:44:30 -04:00
234 lines
5.1 KiB
JSON
234 lines
5.1 KiB
JSON
{
|
|
"name": "bree",
|
|
"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.",
|
|
"version": "7.1.0",
|
|
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
|
|
"ava": {
|
|
"files": [
|
|
"test/*.js",
|
|
"test/**/*.js",
|
|
"!test/jobs",
|
|
"!test/noIndexJobs"
|
|
],
|
|
"verbose": true,
|
|
"require": [
|
|
"events.once/polyfill"
|
|
]
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/breejs/bree/issues",
|
|
"email": "niftylettuce@gmail.com"
|
|
},
|
|
"contributors": [
|
|
"Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
|
|
"shadowgate15 (https://github.com/shadowgate15)"
|
|
],
|
|
"dependencies": {
|
|
"@breejs/later": "^4.1.0",
|
|
"boolean": "^3.1.4",
|
|
"combine-errors": "^3.0.3",
|
|
"cron-validate": "^1.4.3",
|
|
"debug": "^4.3.2",
|
|
"human-interval": "^2.0.1",
|
|
"is-string-and-not-blank": "^0.0.2",
|
|
"is-valid-path": "^0.1.1",
|
|
"ms": "^2.1.3",
|
|
"p-wait-for": "3",
|
|
"safe-timers": "^1.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "latest",
|
|
"@commitlint/config-conventional": "latest",
|
|
"@goto-bus-stop/envify": "^5.0.0",
|
|
"@sinonjs/fake-timers": "^8.1.0",
|
|
"@types/node": "^14.0.0",
|
|
"@types/safe-timers": "^1.1.0",
|
|
"ava": "latest",
|
|
"codecov": "latest",
|
|
"cross-env": "latest",
|
|
"delay": "^5.0.0",
|
|
"dtslint": "^4.2.0",
|
|
"eslint": "^8.2.0",
|
|
"eslint-config-xo-lass": "latest",
|
|
"eslint-plugin-compat": "^3.13.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"events.once": "^2.0.2",
|
|
"fixpack": "latest",
|
|
"husky": "^7.0.0",
|
|
"into-stream": "^7.0.0",
|
|
"lint-staged": "latest",
|
|
"nyc": "latest",
|
|
"remark-cli": "latest",
|
|
"remark-preset-github": "latest",
|
|
"unassertify": "^2.1.1",
|
|
"xo": "^0.46.4"
|
|
},
|
|
"engines": {
|
|
"node": ">= 12.11.0"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"types/index.d.ts"
|
|
],
|
|
"homepage": "https://github.com/breejs/bree",
|
|
"keywords": [
|
|
"agenda",
|
|
"async",
|
|
"await",
|
|
"bee",
|
|
"bree",
|
|
"bull",
|
|
"callback",
|
|
"cancel",
|
|
"cancelable",
|
|
"child",
|
|
"clear",
|
|
"cron",
|
|
"cronjob",
|
|
"crontab",
|
|
"date",
|
|
"dates",
|
|
"day",
|
|
"dayjs",
|
|
"delay",
|
|
"english",
|
|
"express",
|
|
"expression",
|
|
"frequencies",
|
|
"frequency",
|
|
"frequent",
|
|
"friendly",
|
|
"graceful",
|
|
"human",
|
|
"humans",
|
|
"interval",
|
|
"job",
|
|
"jobs",
|
|
"js",
|
|
"koa",
|
|
"koatiming",
|
|
"lad",
|
|
"lass",
|
|
"later",
|
|
"moment",
|
|
"momentjs",
|
|
"mongo",
|
|
"mongodb",
|
|
"mongoose",
|
|
"p-cancel",
|
|
"p-cancelable",
|
|
"p-retry",
|
|
"parse",
|
|
"parser",
|
|
"pretty",
|
|
"process",
|
|
"processors",
|
|
"promise",
|
|
"promises",
|
|
"queue",
|
|
"queues",
|
|
"readable",
|
|
"recur",
|
|
"recurring",
|
|
"redis",
|
|
"redis",
|
|
"reload",
|
|
"restart",
|
|
"run",
|
|
"runner",
|
|
"schedule",
|
|
"scheduler",
|
|
"setup",
|
|
"spawn",
|
|
"tab",
|
|
"task",
|
|
"tasker",
|
|
"time",
|
|
"timeout",
|
|
"timer",
|
|
"timers",
|
|
"translated",
|
|
"universalify",
|
|
"worker",
|
|
"workers"
|
|
],
|
|
"license": "MIT",
|
|
"main": "src/index.js",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/breejs/bree"
|
|
},
|
|
"scripts": {
|
|
"ava": "cross-env NODE_ENV=test ava",
|
|
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
|
"dtslint": "cross-env NODE_ENV=test dtslint types",
|
|
"lint": "yarn run lint:js && yarn run lint:md",
|
|
"lint:js": "xo",
|
|
"lint:md": "remark . -qfo",
|
|
"nyc": "cross-env NODE_ENV=test nyc ava",
|
|
"prepare": "husky install",
|
|
"pretest": "yarn run lint",
|
|
"test": "yarn run ava && yarn run dtslint",
|
|
"test-coverage": "cross-env NODE_ENV=test nyc yarn run test"
|
|
},
|
|
"types": "types",
|
|
"xo": {
|
|
"prettier": true,
|
|
"space": true,
|
|
"extends": [
|
|
"xo-lass"
|
|
],
|
|
"ignore": [
|
|
"config.js"
|
|
],
|
|
"rules": {
|
|
"capitalized-comments": "off",
|
|
"unicorn/catch-error-name": "off",
|
|
"unicorn/require-post-message-target-origin": "off",
|
|
"node/no-unsupported-features/node-builtins": [
|
|
"error",
|
|
{
|
|
"ignores": [
|
|
"events.once"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"test/jobs/*.js"
|
|
],
|
|
"rules": {
|
|
"unicorn/no-process-exit": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"*.ts"
|
|
],
|
|
"parserOptions": {
|
|
"project": [
|
|
"types/tsconfig.json"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"types/tests.ts"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
"@typescript-eslint/no-unsafe-call": "off"
|
|
}
|
|
}
|
|
],
|
|
"parser": "@typescript-eslint/parser"
|
|
}
|
|
}
|