axios-auth-refresh
Version:
Axios plugin which makes it very easy to automatically refresh the authorization tokens of your clients
62 lines (61 loc) • 1.77 kB
JSON
{
"name": "axios-auth-refresh",
"version": "5.0.1",
"description": "Axios plugin which makes it very easy to automatically refresh the authorization tokens of your clients",
"keywords": [
"axios",
"authentication",
"authorization",
"refresh token",
"access token",
"interceptor",
"auto refresh"
],
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js",
"types": "./dist/index.d.ts"
}
},
"repository": "https://github.com/Flyrell/axios-auth-refresh",
"author": "Dawid Zbiński <dawid@zbinski.eu>",
"license": "MIT",
"private": false,
"scripts": {
"dev": "rollup -c --environment NODE_ENV:development",
"build": "rollup -c",
"typescript": "tsc --noEmit",
"test": "jest",
"test:coverage": "jest --coverage",
"prettier": "prettier --write .",
"examples": "tsx examples/run-all.ts",
"prettier:staged": "pretty-quick --staged",
"prepare": "husky"
},
"peerDependencies": {
"axios": ">= 1.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"axios": "^1.13.6",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"husky": "^9.1.7",
"jest": "^29.7.0",
"prettier": "^3.8.1",
"pretty-quick": "^4.2.2",
"rollup": "^4.34.8",
"ts-jest": "^29.4.6",
"tslib": "^2.8.1",
"tsx": "^4.19.0",
"typescript": "^5.8.0"
},
"files": [
"dist",
"LICENSE"
]
}