204 lines
6.5 KiB
JSON
204 lines
6.5 KiB
JSON
{
|
|
"name": "bullmq",
|
|
"version": "5.66.6",
|
|
"description": "Queue for messages and jobs based on Redis",
|
|
"homepage": "https://bullmq.io/",
|
|
"main": "./dist/cjs/index.js",
|
|
"module": "./dist/esm/index.js",
|
|
"types": "./dist/esm/index.d.ts",
|
|
"source": "./src/index.ts",
|
|
"author": "Taskforce.sh Inc.",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"bull",
|
|
"bullmq",
|
|
"queues",
|
|
"jobs",
|
|
"redis"
|
|
],
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run pretest && npm run tsc:all && npm run copy:main:type && npm run clean:temp:files && npm run copy:lua && npm run copy:includes:lua",
|
|
"circular:references": "madge --circular --extensions ts ./src",
|
|
"clean:scripts": "rimraf rawScripts src/scripts",
|
|
"clean:temp:files": "rimraf dist/cjs/bullmq.d.ts dist/esm/bullmq.d.ts dist/tsdoc-metadata.json",
|
|
"copy:includes:lua": "cpx \"./src/commands/includes/*.lua\" ./dist/cjs/commands/includes && cpx \"./src/commands/includes/*.lua\" ./dist/esm/commands/includes",
|
|
"copy:lua": "cpx \"./src/commands/*.lua\" ./dist/cjs/commands && cpx \"./src/commands/*.lua\" ./dist/esm/commands",
|
|
"copy:lua:python": "cpx \"./rawScripts/*.lua\" ./python/bullmq/commands",
|
|
"copy:lua:elixir": "cpx \"./rawScripts/*.lua\" ./elixir/priv/scripts",
|
|
"copy:lua:php": "cpx \"./rawScripts/*.lua\" ./php/src/commands",
|
|
"copy:main:type": "cpx \"./dist/esm/classes/main.d.ts\" ./dist/cjs/classes && cpx \"./dist/esm/classes/main-worker.d.ts\" ./dist/cjs/classes",
|
|
"coverage": "c8 --reporter=text --reporter=lcovonly npm run test",
|
|
"docs": "typedoc --excludeExternals --excludeProtected --excludePrivate --readme none src/index.ts",
|
|
"docs:json": "typedoc --excludeExternals --excludeProtected --excludePrivate --readme none src/index.ts --json ./apiVersions/v5.json --name v5",
|
|
"dc:up": "docker-compose -f docker-compose.yml up -d",
|
|
"dc:down": "docker-compose -f docker-compose.yml down",
|
|
"dry-run": "npm publish --dry-run",
|
|
"eslint:fix": "./node_modules/.bin/eslint . --fix",
|
|
"generate:raw:scripts": "ts-node --project tsconfig-cjs.json scripts/generateRawScripts.ts",
|
|
"lint": "./node_modules/.bin/eslint .",
|
|
"lint:staged": "lint-staged",
|
|
"prepublishOnly": "npm run build",
|
|
"prepare": "husky install",
|
|
"pretest": "npm run clean:scripts && npm run generate:raw:scripts && npm run transform:commands && npm run circular:references",
|
|
"prettier": "prettier **/*.ts --write",
|
|
"pretty:quick": "pretty-quick --staged",
|
|
"semantic-release": "semantic-release",
|
|
"semantic-release:debug": "semantic-release --no-ci --dry-run --debug",
|
|
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
|
|
"test": "NODE_ENV=test ts-mocha -p tsconfig-cjs.json --config ./.mocharc.js",
|
|
"test:watch": "ts-mocha -p tsconfig-cjs.json --paths 'tests/test_*.ts' -w --watch-extensions ts",
|
|
"transform:commands": "node ./scripts/commandTransform.js ./rawScripts ./src/scripts",
|
|
"tsc": "tsc",
|
|
"tsc:all": "tsc && tsc -p tsconfig-cjs.json"
|
|
},
|
|
"dependencies": {
|
|
"cron-parser": "4.9.0",
|
|
"ioredis": "5.9.1",
|
|
"msgpackr": "1.11.5",
|
|
"node-abort-controller": "3.1.1",
|
|
"semver": "7.7.3",
|
|
"tslib": "2.8.1",
|
|
"uuid": "11.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "20.3.1",
|
|
"@commitlint/config-conventional": "20.3.1",
|
|
"@semantic-release/changelog": "6.0.3",
|
|
"@semantic-release/commit-analyzer": "13.0.1",
|
|
"@semantic-release/exec": "7.1.0",
|
|
"@semantic-release/git": "10.0.1",
|
|
"@semantic-release/github": "12.0.2",
|
|
"@semantic-release/npm": "13.1.3",
|
|
"@semantic-release/release-notes-generator": "14.1.0",
|
|
"@types/chai": "4.3.20",
|
|
"@types/chai-as-promised": "7.1.8",
|
|
"@types/lodash.defaults": "4.2.9",
|
|
"@types/lodash.isarguments": "3.1.9",
|
|
"@types/mocha": "5.2.7",
|
|
"@types/msgpack": "0.0.34",
|
|
"@types/node": "18.19.130",
|
|
"@types/semver": "7.7.1",
|
|
"@types/sinon": "10.0.20",
|
|
"@typescript-eslint/eslint-plugin": "8.53.1",
|
|
"@typescript-eslint/parser": "8.53.1",
|
|
"c8": "10.1.3",
|
|
"chai": "4.5.0",
|
|
"chai-as-promised": "7.1.2",
|
|
"coveralls-next": "6.0.1",
|
|
"cpx2": "8.0.0",
|
|
"eslint": "9.39.2",
|
|
"eslint-config-prettier": "8.10.2",
|
|
"eslint-plugin-mocha": "10.5.0",
|
|
"eslint-plugin-prettier": "4.2.5",
|
|
"eslint-plugin-promise": "7.2.1",
|
|
"eslint-plugin-tsdoc": "0.5.0",
|
|
"fast-glob": "3.3.3",
|
|
"husky": "8.0.3",
|
|
"lint-staged": "16.2.7",
|
|
"madge": "8.0.0",
|
|
"minimatch": "9.0.5",
|
|
"mocha": "11.7.5",
|
|
"mocha-lcov-reporter": "1.3.0",
|
|
"moment": "2.30.1",
|
|
"prettier": "3.7.4",
|
|
"pretty-quick": "4.2.2",
|
|
"progress": "2.0.3",
|
|
"rimraf": "6.1.2",
|
|
"rrule": "2.8.1",
|
|
"semantic-release": "25.0.2",
|
|
"sinon": "21.0.1",
|
|
"test-console": "2.0.0",
|
|
"ts-mocha": "11.1.0",
|
|
"ts-node": "10.9.2",
|
|
"typedoc": "0.28.16",
|
|
"typescript": "5.9.3"
|
|
},
|
|
"c8": {
|
|
"all": true,
|
|
"check-coverage": true,
|
|
"lines": 80,
|
|
"functions": 80,
|
|
"branches": 70,
|
|
"statements": 80,
|
|
"exclude": [
|
|
"src/enums/*.ts",
|
|
"src/interfaces/*.ts"
|
|
],
|
|
"include": [
|
|
"src/**/*.ts"
|
|
]
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"glob": "13.0.0",
|
|
"js-yaml": "4.1.1"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts}": "npm run eslint:fix"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/taskforcesh/bullmq.git"
|
|
},
|
|
"release": {
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"releaseRules": [
|
|
{
|
|
"message": "*\\[python\\]*",
|
|
"release": false
|
|
},
|
|
{
|
|
"message": "*\\[elixir\\]*",
|
|
"release": false
|
|
},
|
|
{
|
|
"message": "*\\[php\\]*",
|
|
"release": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/release-notes-generator",
|
|
{
|
|
"preset": "angular",
|
|
"presetConfig": {
|
|
"ignoreCommits": "(\\[python\\]|\\[elixir\\]|\\[php\\])"
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/changelog",
|
|
{
|
|
"changelogFile": "docs/gitbook/changelog.md"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/exec",
|
|
{
|
|
"prepareCmd": "node scripts/updateVersion.js ${nextRelease.version} && yarn build"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/npm",
|
|
{
|
|
"npmPublish": true,
|
|
"provenance": true
|
|
}
|
|
],
|
|
"@semantic-release/github"
|
|
]
|
|
},
|
|
"packageManager": "yarn@1.22.22"
|
|
}
|