UNPKG

retry-axios

Version:
76 lines (75 loc) 1.85 kB
{ "name": "retry-axios", "version": "4.0.3", "description": "Retry HTTP requests with Axios.", "exports": { ".": { "types": { "import": "./build/src/index.d.ts", "require": "./build/src/index.d.cts" }, "import": "./build/src/index.js", "require": "./build/src/index.cjs" } }, "type": "module", "main": "./build/src/index.cjs", "module": "./build/src/index.js", "types": "./build/src/index.d.ts", "engines": { "node": ">=20" }, "repository": { "type": "git", "url": "https://github.com/JustinBeckwith/retry-axios.git" }, "scripts": { "fix": "biome check --write .", "lint": "biome check .", "compile": "npm run compile:esm && npm run compile:cjs && npm run compile:types:cjs", "compile:esm": "tsc -p .", "compile:cjs": "esbuild build/src/index.js --bundle --platform=node --format=cjs --external:axios --outfile=build/src/index.cjs", "typecheck": "tsc -p tsconfig.typecheck.json", "compile:types:cjs": "cp build/src/index.d.ts build/src/index.d.cts", "test": "vitest run --coverage", "pretest": "npm run compile", "test:watch": "vitest watch", "license-check": "jsgl --local ." }, "keywords": [ "axios", "retry" ], "author": { "name": "Justin Beckwith" }, "license": "Apache-2.0", "peerDependencies": { "axios": "*" }, "devDependencies": { "@biomejs/biome": "^2.2.3", "@types/node": "^24.0.0", "@vitest/coverage-v8": "^4.0.0", "axios": "^1.2.1", "esbuild": "^0.28.0", "js-green-licenses": "^4.0.0", "nock": "^14.0.10", "p-defer": "^4.0.1", "typescript": "~6.0.0", "vitest": "^4.0.0" }, "files": [ "build/src" ], "c8": { "exclude": [ "build/test", "dist" ], "reporter": [ "text", "lcov" ] } }