UNPKG

axios-etag-cache

Version:

Axios etag interceptor to enable If-None-Match request with ETAG support

86 lines (85 loc) 2.11 kB
{ "name": "axios-etag-cache", "version": "1.4.0", "description": "Axios etag interceptor to enable If-None-Match request with ETAG support", "keywords": [ "axios", "cache", "etag" ], "homepage": "https://github.com/raulanatol/axios-etag-cache#readme", "bugs": { "url": "https://github.com/raulanatol/axios-etag-cache/issues" }, "repository": { "type": "git", "url": "git+https://github.com/raulanatol/axios-etag-cache.git" }, "license": "ISC", "author": { "name": "raulanatol", "email": "raul@natol.es" }, "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/main.d.ts", "directories": { "test": "test" }, "scripts": { "build": "rollup -c", "clean": "rm -rf dist build", "lint": "eslint --max-warnings 0 . --ext .ts", "test": "jest", "prepare": "npm run build" }, "jest": { "moduleFileExtensions": [ "ts", "tsx", "js", "json" ], "moduleNameMapper": { "\\.(css|jpg|png|svg)$": "<rootDir>/node_modules/jest-css-modules" }, "preset": "ts-jest", "testEnvironment": "node", "testPathIgnorePatterns": [ "/node_modules/" ], "testRegex": "(/test/.*|\\.(test|spec))\\.(ts|tsx|js)$" }, "devDependencies": { "@cowcoders/eslint-config": "1.5.5", "@rollup/plugin-babel": "5.3.1", "@rollup/plugin-node-resolve": "13.3.0", "@types/axios": "0.14.0", "@types/jest": "28.1.2", "@types/node": "18.0.0", "@typescript-eslint/eslint-plugin": "5.28.0", "@typescript-eslint/parser": "5.28.0", "axios": "0.27.2", "eslint": "8.18.0", "jest": "28.1.1", "nock": "13.2.7", "rollup": "2.75.7", "rollup-plugin-auto-external": "2.0.0", "rollup-plugin-typescript2": "0.32.1", "rollup-plugin-visualizer": "5.6.0", "shx": "0.3.4", "ts-jest": "28.0.5", "ts-loader": "9.3.0", "ts-node": "10.8.1", "typescript": "4.7.4", "webserver.local": "1.0.6" }, "peerDependencies": { "axios": ">=0.24.0" }, "pre-push": [ "lint", "test", "build" ] }