mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
86 lines
2.5 KiB
JSON
86 lines
2.5 KiB
JSON
{
|
|
"name": "axios-cache-interceptor",
|
|
"version": "1.5.1",
|
|
"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": "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",
|
|
"source": "./src/index.ts",
|
|
"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",
|
|
"types": "./dist/index.d.ts",
|
|
"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",
|
|
"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",
|
|
"version": "auto-changelog -p && cp CHANGELOG.md docs/src/others/changelog.md && git add CHANGELOG.md docs/src/others/changelog.md",
|
|
"format": "biome format --write .",
|
|
"lint": "biome check .",
|
|
"lint:fix": "biome check --apply-unsafe .",
|
|
"lint:ci": "biome ci ."
|
|
},
|
|
"resolutions": {
|
|
"colors": "1.4.0"
|
|
},
|
|
"dependencies": {
|
|
"cache-parser": "1.2.4",
|
|
"fast-defer": "1.1.8",
|
|
"object-code": "1.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "1.5.3",
|
|
"@swc-node/register": "1.8.0",
|
|
"@swc/helpers": "0.5.6",
|
|
"@types/jsdom": "21.1.6",
|
|
"@types/node": "20.11.5",
|
|
"auto-changelog": "2.4.0",
|
|
"axios": "1.6.7",
|
|
"c8": "9.1.0",
|
|
"jsdom": "23.2.0",
|
|
"microbundle": "^0.15.1",
|
|
"tslib": "2.6.2",
|
|
"typescript": "5.3.3",
|
|
"vitepress": "1.0.0-rc.42"
|
|
},
|
|
"peerDependencies": {
|
|
"axios": "^1"
|
|
},
|
|
"packageManager": "pnpm@8.10.2",
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"runkitExampleFilename": "./examples/runkit.js"
|
|
}
|