UNPKG

axios-simple-cache-adapter

Version:

Configurable cache adapter for axios, works in the browser and node

75 lines (74 loc) 2.24 kB
{ "name": "axios-simple-cache-adapter", "version": "2.0.0", "description": "Configurable cache adapter for axios, works in the browser and node", "keywords": [ "axios", "cache", "node", "browser", "cache-control" ], "author": "Na'aman Hirschfeld", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/Goldziher/axios-simple-cache-adapter.git" }, "bugs": { "url": "https://github.com/Goldziher/axios-simple-cache-adapter/issues" }, "homepage": "https://github.com/Goldziher/axios-simple-cache-adapter#readme", "files": [ "dist" ], "main": "dist/index.js", "module": "dist/index.es.js", "types": "dist/index.d.ts", "scripts": { "build": "rimraf dist && vite build", "format": "prettier --write '**/*.{js,md,json,yaml,yml}'", "lint": "eslint --fix '**/*.ts'", "test": "vitest run", "test:coverage": "vitest run --coverage", "test:watch": "vitest", "prepare": "husky install" }, "peerDependencies": { "axios": ">=0.21.1" }, "devDependencies": { "@rollup/plugin-typescript": "^11.1.5", "@tool-belt/eslint-config": "^3.2.0", "@types/cache-manager": "^4.0.4", "@types/jest": "^29.5.6", "@types/node": "^20.8.7", "@types/node-localstorage": "^1.3.2", "@vitest/coverage-v8": "^0.34.6", "axios": "^1.5.1", "cache-manager": "^5.2.4", "eslint": "^8.51.0", "husky": "^8.0.3", "jsdom": "^22.1.0", "lint-staged": "^15.0.2", "localforage": "^1.10.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "ts-node": "^10.9.1", "type-fest": "^4.5.0", "typescript": "^5.2.2", "vite": "^4.5.0", "vite-plugin-dts": "^3.6.0", "vitest": "^0.34.6" }, "dependencies": { "@tool-belt/type-predicates": "^1.3.0", "cache-control-parser": "^2.0.4", "flatted": "^3.2.9", "tslib": "^2.6.2" }, "lint-staged": { "*.ts": "eslint --fix", "*.{js,md,json,yaml,yml}": "prettier --write" } }