forked from AubaidFarrukh/smart-retry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.37 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "@aubaid/smart-retry",
"version": "1.0.3",
"description": "TypeScript retry library for HTTP requests with exponential/linear backoff, Axios and Fetch integrations, and automatic failure logging for later replay",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"clean": "rm -rf dist",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
"lint": "eslint \"src/**/*.ts\" \"tests/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" \"tests/**/*.ts\" --fix",
"prepare": "husky",
"preversion": "npm test",
"postversion": "git push && git push --tags",
"prepublishOnly": "npm run clean && npm run build && npm test",
"tag": "git tag v$npm_package_version && git push origin v$npm_package_version"
},
"lint-staged": {
".ts": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
},
"keywords": [
"retry",
"exponential-backoff",
"linear-backoff",
"backoff-strategy",
"http-retry",
"axios-retry",
"fetch-retry",
"request-retry",
"api-retry",
"resilience",
"fault-tolerance",
"error-handling",
"network-retry",
"transient-errors",
"typescript",
"promise",
"async-await",
"failure-logging"
],
"author": "Aubaid Farrukh",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/AubaidFarrukh/smart-retry.git"
},
"bugs": {
"url": "https://github.com/AubaidFarrukh/smart-retry/issues"
},
"homepage": "https://github.com/AubaidFarrukh/smart-retry#readme",
"files": [
"dist",
"README.md",
"LICENSE"
],
"devDependencies": {
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@types/jest": "^29.5.0",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^8.46.2",
"@typescript-eslint/parser": "^8.46.2",
"eslint": "^9.39.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^16.2.6",
"prettier": "^3.6.2",
"ts-jest": "^29.2.0",
"typescript": "^5.3.0"
},
"dependencies": {
"axios": "^1.6.0"
},
"engines": {
"node": ">=14.0.0"
}
}