package.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "exponential-backoff",
  3. "version": "3.1.2",
  4. "description": "A utility that allows retrying a function with an exponential delay between attempts.",
  5. "files": [
  6. "dist/",
  7. "src/"
  8. ],
  9. "main": "dist/backoff.js",
  10. "types": "dist/backoff.d.ts",
  11. "scripts": {
  12. "build": "tsc",
  13. "test": "jest",
  14. "test:watch": "jest --watch"
  15. },
  16. "husky": {
  17. "hooks": {
  18. "pre-commit": "lint-staged"
  19. }
  20. },
  21. "lint-staged": {
  22. "*.{ts,json,md}": [
  23. "prettier --write",
  24. "git add"
  25. ]
  26. },
  27. "jest": {
  28. "transform": {
  29. "^.+\\.ts$": "ts-jest"
  30. },
  31. "testRegex": "\\.spec\\.ts$",
  32. "moduleFileExtensions": [
  33. "ts",
  34. "js"
  35. ]
  36. },
  37. "repository": {
  38. "type": "git",
  39. "url": "git+https://github.com/coveooss/exponential-backoff.git"
  40. },
  41. "keywords": [
  42. "exponential",
  43. "backoff",
  44. "retry"
  45. ],
  46. "author": "Sami Sayegh",
  47. "license": "Apache-2.0",
  48. "bugs": {
  49. "url": "https://github.com/coveooss/exponential-backoff/issues"
  50. },
  51. "homepage": "https://github.com/coveooss/exponential-backoff#readme",
  52. "devDependencies": {
  53. "@types/jest": "^24.0.18",
  54. "@types/node": "^10.14.21",
  55. "husky": "^3.0.9",
  56. "jest": "^24.9.0",
  57. "lint-staged": "^9.4.2",
  58. "prettier": "^1.18.2",
  59. "ts-jest": "^24.1.0",
  60. "typescript": "^3.6.4"
  61. }
  62. }