package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "p-queue",
  3. "version": "6.6.2",
  4. "description": "Promise queue with concurrency control",
  5. "license": "MIT",
  6. "repository": "sindresorhus/p-queue",
  7. "funding": "https://github.com/sponsors/sindresorhus",
  8. "main": "dist/index.js",
  9. "engines": {
  10. "node": ">=8"
  11. },
  12. "scripts": {
  13. "build": "del dist && tsc",
  14. "test": "xo && npm run build && nyc ava",
  15. "bench": "ts-node bench.ts",
  16. "prepublishOnly": "npm run build"
  17. },
  18. "files": [
  19. "dist"
  20. ],
  21. "types": "dist/index.d.ts",
  22. "keywords": [
  23. "promise",
  24. "queue",
  25. "enqueue",
  26. "limit",
  27. "limited",
  28. "concurrency",
  29. "throttle",
  30. "throat",
  31. "rate",
  32. "batch",
  33. "ratelimit",
  34. "priority",
  35. "priorityqueue",
  36. "fifo",
  37. "job",
  38. "task",
  39. "async",
  40. "await",
  41. "promises",
  42. "bluebird"
  43. ],
  44. "dependencies": {
  45. "eventemitter3": "^4.0.4",
  46. "p-timeout": "^3.2.0"
  47. },
  48. "devDependencies": {
  49. "@sindresorhus/tsconfig": "^0.7.0",
  50. "@types/benchmark": "^1.0.33",
  51. "@types/node": "^14.6.0",
  52. "ava": "^2.0.0",
  53. "benchmark": "^2.1.4",
  54. "codecov": "^3.7.2",
  55. "del-cli": "^3.0.1",
  56. "delay": "^4.4.0",
  57. "in-range": "^2.0.0",
  58. "nyc": "^15.1.0",
  59. "random-int": "^2.0.1",
  60. "time-span": "^4.0.0",
  61. "ts-node": "^9.0.0",
  62. "typescript": "^4.0.2",
  63. "xo": "^0.33.0"
  64. },
  65. "ava": {
  66. "babel": false,
  67. "compileEnhancements": false,
  68. "extensions": [
  69. "ts"
  70. ],
  71. "require": [
  72. "ts-node/register"
  73. ],
  74. "files": [
  75. "test/**"
  76. ]
  77. },
  78. "xo": {
  79. "rules": {
  80. "@typescript-eslint/member-ordering": "off",
  81. "node/no-unsupported-features/es-syntax": "off",
  82. "@typescript-eslint/no-floating-promises": "off",
  83. "import/no-named-default": "off",
  84. "@typescript-eslint/no-invalid-void-type": "off"
  85. }
  86. },
  87. "nyc": {
  88. "extension": [
  89. ".ts"
  90. ]
  91. }
  92. }