UNPKG

@reggieofarrell/axios-retry-client

Version:

A class based api client for both the server and browser built on `axios` and `axios-retry`, written in TypeScript

67 lines (66 loc) 2.02 kB
{ "name": "@reggieofarrell/axios-retry-client", "version": "2.2.0", "description": "A class based api client for both the server and browser built on `axios` and `axios-retry`, written in TypeScript", "author": "Reggie O'Farrell", "license": "0BSD", "repository": { "type": "git", "url": "https://github.com/reggieofarrell/axios-retry-client.git" }, "bugs": { "url": "https://github.com/reggieofarrell/axios-retry-client/issues" }, "keywords": [ "axios", "axios-retry", "xhr", "http", "ajax", "promise" ], "scripts": { "build": "rm -rf dist && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && rollup -c", "start": "tsc --watch", "test": "jest", "lint": "eslint 'src/**/*.{ts,tsx}'", "release:patch": "npm version patch && git push && git push --tags", "release:minor": "npm version minor && git push && git push --tags", "release:major": "npm version major && git push && git push --tags", "format": "npx prettier --write .", "linkMe": "npm link", "unlinkMe": "npm unlink -g && npm i", "copy-src": "cpx 'src/**/*' dist/src" }, "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "files": [ "dist/" ], "types": "dist/index.d.ts", "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^20.14.12", "@typescript-eslint/eslint-plugin": "^8.14.0", "@typescript-eslint/parser": "^8.14.0", "axios-mock-adapter": "^2.1.0", "cpx": "^1.5.0", "eslint": "^8.57.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jest": "^28.9.0", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.7.0", "prettier": "^3.3.3", "rollup": "^4.19.2", "rollup-plugin-dts": "^6.1.1", "ts-jest": "^29.2.5", "tsc-watch": "^6.0.4", "typescript": "^5.5.3" }, "dependencies": { "axios": "^1.7.7", "axios-retry": "^4.5.0", "serialize-error": "^11.0.3" }, "homepage": "https://github.com/reggieofarrell/axios-retry-client#readme" }