You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 1.3KB

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