package.json 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. {
  2. "name": "bullmq",
  3. "version": "5.74.1",
  4. "description": "Queue for messages and jobs based on Redis",
  5. "homepage": "https://bullmq.io/",
  6. "main": "./dist/cjs/index.js",
  7. "module": "./dist/esm/index.js",
  8. "types": "./dist/esm/index.d.ts",
  9. "source": "./src/index.ts",
  10. "author": "Taskforce.sh Inc.",
  11. "license": "MIT",
  12. "keywords": [
  13. "bull",
  14. "bullmq",
  15. "queues",
  16. "jobs",
  17. "redis"
  18. ],
  19. "files": [
  20. "dist"
  21. ],
  22. "scripts": {
  23. "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",
  24. "circular:references": "madge --circular --extensions ts ./src",
  25. "clean:scripts": "rimraf rawScripts src/scripts",
  26. "clean:temp:files": "rimraf dist/cjs/bullmq.d.ts dist/esm/bullmq.d.ts dist/tsdoc-metadata.json",
  27. "copy:includes:lua": "cpx \"./src/commands/includes/*.lua\" ./dist/cjs/commands/includes && cpx \"./src/commands/includes/*.lua\" ./dist/esm/commands/includes",
  28. "copy:lua": "cpx \"./src/commands/*.lua\" ./dist/cjs/commands && cpx \"./src/commands/*.lua\" ./dist/esm/commands",
  29. "copy:lua:python": "cpx \"./rawScripts/*.lua\" ./python/bullmq/commands",
  30. "copy:lua:elixir": "cpx \"./rawScripts/*.lua\" ./elixir/priv/scripts",
  31. "copy:lua:php": "cpx \"./rawScripts/*.lua\" ./php/src/commands",
  32. "copy:main:type": "cpx \"./dist/esm/classes/main.d.ts\" ./dist/cjs/classes && cpx \"./dist/esm/classes/main-worker.d.ts\" ./dist/cjs/classes",
  33. "coverage": "vitest run --no-file-parallelism --coverage",
  34. "docs": "typedoc --excludeExternals --excludeProtected --excludePrivate --readme none src/index.ts",
  35. "docs:json": "typedoc --excludeExternals --excludeProtected --excludePrivate --readme none src/index.ts --json ./apiVersions/v5.json --name v5",
  36. "dc:up": "docker-compose -f docker-compose.yml up -d",
  37. "dc:down": "docker-compose -f docker-compose.yml down",
  38. "dry-run": "npm publish --dry-run",
  39. "eslint:fix": "./node_modules/.bin/eslint . --fix",
  40. "generate:raw:scripts": "ts-node --project tsconfig-cjs.json scripts/generateRawScripts.ts",
  41. "lint": "./node_modules/.bin/eslint .",
  42. "lint:staged": "lint-staged",
  43. "prepublishOnly": "npm run build",
  44. "prepare": "husky",
  45. "pretest": "npm run clean:scripts && npm run generate:raw:scripts && npm run transform:commands && npm run circular:references",
  46. "prettier": "prettier **/*.ts --write",
  47. "pretty:quick": "pretty-quick --staged",
  48. "semantic-release": "semantic-release",
  49. "semantic-release:debug": "semantic-release --no-ci --dry-run --debug",
  50. "semantic-release-prepare": "ts-node tools/semantic-release-prepare",
  51. "test": "vitest run --no-file-parallelism",
  52. "test:vitest": "vitest run --no-file-parallelism",
  53. "test:vitest:watch": "vitest",
  54. "test:vitest:ui": "vitest --ui",
  55. "test:bun": "bun run vitest run --no-file-parallelism",
  56. "test:watch": "vitest --watch",
  57. "transform:commands": "node ./scripts/commandTransform.js ./rawScripts ./src/scripts",
  58. "tsc": "tsc",
  59. "tsc:all": "tsc && tsc -p tsconfig-cjs.json"
  60. },
  61. "dependencies": {
  62. "cron-parser": "4.9.0",
  63. "ioredis": "5.10.1",
  64. "msgpackr": "1.11.5",
  65. "node-abort-controller": "3.1.1",
  66. "semver": "7.7.4",
  67. "tslib": "2.8.1",
  68. "uuid": "11.1.0"
  69. },
  70. "devDependencies": {
  71. "@commitlint/cli": "20.5.0",
  72. "@commitlint/config-conventional": "20.5.0",
  73. "@semantic-release/changelog": "6.0.3",
  74. "@semantic-release/commit-analyzer": "13.0.1",
  75. "@semantic-release/exec": "7.1.0",
  76. "@semantic-release/git": "10.0.1",
  77. "@semantic-release/github": "12.0.6",
  78. "@semantic-release/npm": "13.1.5",
  79. "@semantic-release/release-notes-generator": "14.1.0",
  80. "@types/lodash.defaults": "4.2.9",
  81. "@types/lodash.isarguments": "3.1.9",
  82. "@types/msgpack": "0.0.34",
  83. "@types/node": "24.12.2",
  84. "@types/semver": "7.7.1",
  85. "@types/sinon": "21.0.1",
  86. "@typescript-eslint/eslint-plugin": "8.58.1",
  87. "@typescript-eslint/parser": "8.58.1",
  88. "@vitest/coverage-v8": "4.1.2",
  89. "coveralls-next": "6.0.1",
  90. "cpx2": "8.0.1",
  91. "eslint": "9.39.4",
  92. "eslint-config-prettier": "8.10.2",
  93. "eslint-plugin-prettier": "4.2.5",
  94. "eslint-plugin-promise": "7.2.1",
  95. "eslint-plugin-tsdoc": "0.5.2",
  96. "fast-glob": "3.3.3",
  97. "globals": "17.4.0",
  98. "husky": "9.1.7",
  99. "lint-staged": "16.4.0",
  100. "madge": "8.0.0",
  101. "minimatch": "10.2.5",
  102. "moment": "2.30.1",
  103. "prettier": "3.8.1",
  104. "pretty-quick": "4.2.2",
  105. "progress": "2.0.3",
  106. "rimraf": "6.1.3",
  107. "rrule": "2.8.1",
  108. "semantic-release": "25.0.3",
  109. "sinon": "21.0.3",
  110. "test-console": "2.0.0",
  111. "ts-node": "10.9.2",
  112. "typedoc": "0.28.18",
  113. "typescript": "5.9.3",
  114. "vitest": "4.1.2"
  115. },
  116. "commitlint": {
  117. "extends": [
  118. "@commitlint/config-conventional"
  119. ]
  120. },
  121. "lint-staged": {
  122. "*.{js,ts}": "npm run eslint:fix"
  123. },
  124. "repository": {
  125. "type": "git",
  126. "url": "https://github.com/taskforcesh/bullmq.git"
  127. },
  128. "release": {
  129. "plugins": [
  130. [
  131. "@semantic-release/commit-analyzer",
  132. {
  133. "releaseRules": [
  134. {
  135. "message": "*\\[python\\]*",
  136. "release": false
  137. },
  138. {
  139. "message": "*\\[elixir\\]*",
  140. "release": false
  141. },
  142. {
  143. "message": "*\\[php\\]*",
  144. "release": false
  145. }
  146. ]
  147. }
  148. ],
  149. [
  150. "@semantic-release/release-notes-generator",
  151. {
  152. "preset": "angular",
  153. "presetConfig": {
  154. "ignoreCommits": "(\\[python\\]|\\[elixir\\]|\\[php\\])"
  155. }
  156. }
  157. ],
  158. [
  159. "@semantic-release/changelog",
  160. {
  161. "changelogFile": "docs/gitbook/changelog.md"
  162. }
  163. ],
  164. [
  165. "@semantic-release/exec",
  166. {
  167. "prepareCmd": "node scripts/updateVersion.js ${nextRelease.version} && yarn build"
  168. }
  169. ],
  170. [
  171. "@semantic-release/npm",
  172. {
  173. "npmPublish": true,
  174. "provenance": true
  175. }
  176. ],
  177. "@semantic-release/github"
  178. ]
  179. },
  180. "packageManager": "yarn@1.22.22",
  181. "resolutions": {
  182. "brace-expansion": ">=1.1.13",
  183. "picomatch": ">=2.3.2",
  184. "yaml": ">=2.8.3"
  185. }
  186. }