package.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "p-retry",
  3. "version": "8.0.0",
  4. "description": "Retry a promise-returning or async function",
  5. "license": "MIT",
  6. "repository": "sindresorhus/p-retry",
  7. "funding": "https://github.com/sponsors/sindresorhus",
  8. "author": {
  9. "name": "Sindre Sorhus",
  10. "email": "sindresorhus@gmail.com",
  11. "url": "https://sindresorhus.com"
  12. },
  13. "type": "module",
  14. "exports": {
  15. "types": "./index.d.ts",
  16. "default": "./index.js"
  17. },
  18. "sideEffects": false,
  19. "engines": {
  20. "node": ">=22"
  21. },
  22. "scripts": {
  23. "test": "xo && ava && tsd"
  24. },
  25. "files": [
  26. "index.js",
  27. "index.d.ts"
  28. ],
  29. "keywords": [
  30. "promise",
  31. "retry",
  32. "retries",
  33. "operation",
  34. "failed",
  35. "rejected",
  36. "try",
  37. "exponential",
  38. "backoff",
  39. "attempt",
  40. "async",
  41. "await",
  42. "promises",
  43. "concurrently",
  44. "concurrency",
  45. "parallel",
  46. "bluebird"
  47. ],
  48. "dependencies": {
  49. "is-network-error": "^1.3.0"
  50. },
  51. "devDependencies": {
  52. "ava": "^6.4.1",
  53. "delay": "^7.0.0",
  54. "execa": "^9.6.1",
  55. "tsd": "^0.33.0",
  56. "xo": "^1.2.3"
  57. },
  58. "xo": {
  59. "rules": {
  60. "no-await-in-loop": "off"
  61. }
  62. }
  63. }