package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "workerpool",
  3. "license": "Apache-2.0",
  4. "version": "9.3.4",
  5. "description": "Offload tasks to a pool of workers on node.js and in the browser",
  6. "homepage": "https://github.com/josdejong/workerpool",
  7. "author": "Jos de Jong <wjosdejong@gmail.com> (https://github.com/josdejong)",
  8. "repository": {
  9. "type": "git",
  10. "url": "git://github.com/josdejong/workerpool.git"
  11. },
  12. "keywords": [
  13. "worker",
  14. "web worker",
  15. "cluster",
  16. "pool",
  17. "isomorphic"
  18. ],
  19. "main": "src/index.js",
  20. "browser": "dist/workerpool.js",
  21. "types": "types/index.d.ts",
  22. "files": [
  23. "dist",
  24. "src",
  25. "types",
  26. "HISTORY.md",
  27. "LICENSE",
  28. "README.md"
  29. ],
  30. "scripts": {
  31. "build": "rollup -c rollup.config.mjs && npm run build:types",
  32. "build:types": "tsc -p .",
  33. "watch": "rollup -c rollup.config.mjs -w",
  34. "test": "npm run build && mocha test && npm run test:types",
  35. "test:types": "tsc -p test/types",
  36. "test:debug": "npm run build && mocha debug test",
  37. "coverage": "npm run build && c8 mocha && c8 report --reporter=html && echo Coverage report is available at ./coverage/index.html",
  38. "prepublishOnly": "npm run test && npm run build"
  39. },
  40. "devDependencies": {
  41. "@babel/core": "7.28.4",
  42. "@babel/preset-env": "7.28.3",
  43. "@rollup/plugin-babel": "6.0.4",
  44. "@rollup/plugin-commonjs": "28.0.6",
  45. "@rollup/plugin-json": "6.1.0",
  46. "@rollup/plugin-node-resolve": "16.0.1",
  47. "@rollup/plugin-terser": "0.4.4",
  48. "@types/node": "24.3.1",
  49. "c8": "10.1.3",
  50. "core-js": "3.45.1",
  51. "date-format": "4.0.14",
  52. "find-process": "2.0.0",
  53. "fs-extra": "11.3.1",
  54. "mocha": "11.7.2",
  55. "rollup": "4.50.1",
  56. "typescript": "5.9.2"
  57. }
  58. }