You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.3 KiB
JSON
62 lines
1.3 KiB
JSON
8 months ago
|
{
|
||
|
"name": "exponential-backoff",
|
||
|
"version": "3.1.1",
|
||
|
"description": "A utility that allows retrying a function with an exponential delay between attempts.",
|
||
|
"files": [
|
||
|
"dist/"
|
||
|
],
|
||
|
"main": "dist/backoff.js",
|
||
|
"types": "dist/backoff.d.ts",
|
||
|
"scripts": {
|
||
|
"build": "tsc",
|
||
|
"test": "jest",
|
||
|
"test:watch": "jest --watch"
|
||
|
},
|
||
|
"husky": {
|
||
|
"hooks": {
|
||
|
"pre-commit": "lint-staged"
|
||
|
}
|
||
|
},
|
||
|
"lint-staged": {
|
||
|
"*.{ts,json,md}": [
|
||
|
"prettier --write",
|
||
|
"git add"
|
||
|
]
|
||
|
},
|
||
|
"jest": {
|
||
|
"transform": {
|
||
|
"^.+\\.ts$": "ts-jest"
|
||
|
},
|
||
|
"testRegex": "\\.spec\\.ts$",
|
||
|
"moduleFileExtensions": [
|
||
|
"ts",
|
||
|
"js"
|
||
|
]
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/coveo/exponential-backoff.git"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"exponential",
|
||
|
"backoff",
|
||
|
"retry"
|
||
|
],
|
||
|
"author": "Sami Sayegh",
|
||
|
"license": "Apache-2.0",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/coveo/exponential-backoff/issues"
|
||
|
},
|
||
|
"homepage": "https://github.com/coveo/exponential-backoff#readme",
|
||
|
"devDependencies": {
|
||
|
"@types/jest": "^24.0.18",
|
||
|
"@types/node": "^10.14.21",
|
||
|
"husky": "^3.0.9",
|
||
|
"jest": "^24.9.0",
|
||
|
"lint-staged": "^9.4.2",
|
||
|
"prettier": "^1.18.2",
|
||
|
"ts-jest": "^24.1.0",
|
||
|
"typescript": "^3.6.4"
|
||
|
}
|
||
|
}
|