UNPKG

axios-cache-interceptor

Version:
89 lines 2.69 kB
{ "name": "axios-cache-interceptor", "version": "1.7.0", "description": "Cache interceptor for axios", "keywords": [ "axios", "cache", "interceptor", "adapter", "http", "plugin", "wrapper" ], "homepage": "https://axios-cache-interceptor.js.org", "bugs": "https://github.com/arthurfiorette/axios-cache-interceptor/issues", "repository": { "type": "git", "url": "git+https://github.com/arthurfiorette/axios-cache-interceptor.git" }, "funding": "https://github.com/arthurfiorette/axios-cache-interceptor?sponsor=1", "license": "MIT", "author": "Arthur Fiorette <npm@arthur.place>", "sideEffects": false, "type": "module", "exports": { ".": { "require": "./dist/index.cjs", "default": "./dist/index.modern.js" }, "./dev": { "require": "./dev/index.cjs", "default": "./dev/index.modern.js" }, "./package.json": "./package.json", "./*": "./*" }, "main": "./dist/index.cjs", "jsdelivr": "./dist/index.bundle.js", "unpkg": "./dist/index.bundle.js", "module": "./dist/index.mjs", "source": "./src/index.ts", "types": "./dist/index.d.ts", "resolutions": { "colors": "1.4.0" }, "dependencies": { "cache-parser": "1.2.5", "fast-defer": "1.1.8", "object-code": "1.3.3" }, "devDependencies": { "@arthurfiorette/biomejs-config": "1.0.7", "@biomejs/biome": "1.9.4", "@swc-node/register": "1.10.10", "@swc/helpers": "0.5.15", "@types/jsdom": "21.1.7", "@types/node": "22.13.10", "auto-changelog": "2.5.0", "axios": "1.8.3", "c8": "10.1.3", "jsdom": "26.0.0", "microbundle": "^0.15.1", "tslib": "2.8.1", "typescript": "5.8.2", "vitepress": "1.6.3" }, "peerDependencies": { "axios": "^1" }, "engines": { "node": ">=12" }, "runkitExampleFilename": "./examples/runkit.js", "scripts": { "benchmark": "cd benchmark && pnpm start", "build": "bash build.sh", "docs:build": "vitepress build docs", "docs:dev": "vitepress dev docs --port 1227", "docs:serve": "vitepress serve docs", "format": "biome format --write .", "lint": "biome check .", "lint:ci": "biome ci .", "lint:fix": "biome check --write --unsafe .", "test": "c8 --reporter lcov --reporter text node --import ./test/setup.js --enable-source-maps --test test/**/*.test.ts", "test:only": "c8 --reporter lcov --reporter text node --import ./test/setup.js --enable-source-maps --test-only", "test:types": "tsc -p tsconfig.build.json", "version": "auto-changelog -p && cp CHANGELOG.md docs/src/others/changelog.md && git add CHANGELOG.md docs/src/others/changelog.md" } }