forked from softonic/axios-retry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.31 KB
/
package.json
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
{
"name": "axios-retry",
"version": "4.5.0",
"author": "Rubén Norte <[email protected]>",
"description": "Axios plugin that intercepts failed requests and retries them whenever posible.",
"license": "Apache-2.0",
"homepage": "https://github.com/softonic/axios-retry",
"files": [
"dist"
],
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "ts-node --project tsconfig-cjs.json node_modules/jasmine/bin/jasmine",
"prebuild": "npm run test",
"build": "rm -fr dist/* && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p tsconfig.json && echo '{\"type\":\"module\"}' > dist/esm/package.json",
"build:cjs": "tsc -p tsconfig-cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"prerelease": "npm run build",
"release": "npm version -m \"New version: %s\"",
"postrelease": "npm run push && npm publish",
"push": "git push origin master && git push origin --tags",
"prepare": "husky install"
},
"lint-staged": {
"*.ts": [
"eslint --cache --fix",
"prettier --write"
]
},
"dependencies": {
"is-retry-allowed": "^2.2.0"
},
"peerDependencies": {
"axios": "0.x || 1.x"
},
"devDependencies": {
"@types/axios": "^0.14.0",
"@types/node": "^20.9.1",
"@types/jasmine": "^5.1.2",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"axios": "^1.6.2",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jasmine": "^4.1.3",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"jasmine": "^5.1.0",
"lint-staged": "^15.1.0",
"nock": "^13.3.8",
"prettier": "^3.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/softonic/axios-retry.git"
},
"bugs": {
"url": "https://github.com/softonic/axios-retry/issues"
},
"types": "dist/cjs/index.d.ts",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./package.json": "./package.json"
}
}