axios-hooks/package.json
2022-05-02 09:06:41 +01:00

87 lines
2.5 KiB
JSON

{
"name": "axios-hooks",
"version": "3.0.1",
"description": "axios-hooks",
"keywords": [
"axios",
"react",
"hooks"
],
"license": "MIT",
"author": "Simone Busoli <simone.busoli@gmail.com>",
"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 src test",
"prepare": "npm run clean && npm run build && husky install",
"release": "standard-version",
"pretest": "cp ./test/index.test.jsx ./test/index.test.tsx && cp ./test/index.test.ssr.jsx ./test/index.test.ssr.tsx",
"test": "jest --no-cache"
},
"dependencies": {
"@babel/runtime": "7.17.9",
"dequal": "2.0.2",
"lru-cache": "6.0.0"
},
"peerDependencies": {
"axios": ">=0.24.0",
"react": "^16.8.0-0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/cli": "7.17.6",
"@babel/core": "7.17.9",
"@babel/eslint-parser": "7.17.0",
"@babel/plugin-transform-runtime": "7.17.0",
"@babel/preset-env": "7.16.11",
"@babel/preset-react": "7.16.7",
"@commitlint/cli": "16.2.4",
"@commitlint/config-conventional": "16.2.4",
"@testing-library/react": "12.1.5",
"@testing-library/react-hooks": "7.0.2",
"@types/jest": "27.4.1",
"@types/lru-cache": "7.6.1",
"@types/node": "17.0.30",
"@types/react": "18.0.8",
"@types/react-dom": "18.0.3",
"axios": "0.27.2",
"cross-env": "7.0.3",
"eslint": "8.14.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.29.4",
"eslint-plugin-react-hooks": "4.5.0",
"husky": "^7.0.0",
"jest": "26.6.3",
"lint-staged": "12.4.1",
"npm-run-all": "4.1.5",
"prettier": "2.6.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-test-renderer": "17.0.2",
"rimraf": "3.0.2",
"standard-version": "9.3.2",
"ts-jest": "26.5.6",
"typescript": "4.6.4"
},
"lint-staged": {
"{src,test}/**/*.{js?(x),md}": [
"eslint --fix"
]
}
}