{ "name": "axios-hooks", "version": "5.1.1", "description": "axios-hooks", "keywords": [ "axios", "react", "hooks" ], "license": "AWISC", "author": "Simone Busoli ", "homepage": "https://github.com/simoneb/axios-hooks", "repository": "simoneb/axios-hooks", "bugs": "https://github.com/simoneb/axios-hooks/issues", "main": "cjs/index.js", "module": "es/index.js", "types": "src/index.d.ts", "files": [ "cjs/", "es/", "src/" ], "scripts": { "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir cjs", "build:es": "babel src --out-dir es", "build": "run-p build:*", "clean": "rimraf cjs es", "format": "prettier --write \"{src,test}/**/*.{js?(x),md,ts?(x)}\"", "lint": "eslint . --ext .js,.jsx", "prepare": "npm run clean && npm run build && husky install", "pretest": "shx cp ./test/index.test.jsx ./test/index.test.tsx && shx cp ./test/index.test.ssr.jsx ./test/index.test.ssr.tsx", "test": "tsd && jest --no-cache" }, "dependencies": { "@babel/runtime": "7.28.4", "dequal": "2.0.3", "lru-cache": "^11.0.0" }, "peerDependencies": { "axios": ">=1.0.0", "react": "^16.8.0-0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "devDependencies": { "@babel/cli": "7.28.3", "@babel/core": "7.28.5", "@babel/plugin-transform-runtime": "7.28.5", "@babel/preset-env": "7.28.5", "@babel/preset-react": "7.28.5", "@commitlint/cli": "20.2.0", "@commitlint/config-conventional": "20.2.0", "@testing-library/react": "12.1.5", "@testing-library/react-hooks": "7.0.2", "@types/jest": "30.0.0", "@types/node": "24.10.1", "@types/react": "18.2.20", "@types/react-dom": "18.2.7", "axios": "1.13.2", "cross-env": "10.1.0", "eslint": "8.57.0", "eslint-config-prettier": "10.1.8", "eslint-plugin-import": "2.32.0", "eslint-plugin-prettier": "5.5.4", "eslint-plugin-react": "7.37.5", "eslint-plugin-react-hooks": "5.2.0", "husky": "^9.0.3", "jest": "30.2.0", "jest-environment-jsdom": "^30.0.4", "lint-staged": "16.2.7", "npm-run-all": "4.1.5", "prettier": "3.7.4", "react": "17.0.2", "react-dom": "17.0.2", "rimraf": "6.1.2", "shx": "0.4.0", "ts-jest": "29.4.6", "tsd": "^0.32.0", "typescript": "5.9.3" }, "lint-staged": { "{src,test}/**/*.{js?(x),md}": [ "eslint --fix" ] }, "tsd": { "directory": "test-d" } }