axios-hooks/package.json

93 lines
2.6 KiB
JSON

{
"name": "axios-hooks",
"version": "2.4.0-0",
"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",
"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.12.13",
"lru-cache": "6.0.0"
},
"peerDependencies": {
"react": "^16.8.0-0 || ^17.0.0",
"axios": "^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0"
},
"devDependencies": {
"@babel/cli": "7.12.16",
"@babel/core": "7.12.16",
"@babel/plugin-transform-runtime": "7.12.15",
"@babel/preset-env": "7.12.16",
"@babel/preset-react": "7.12.13",
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"@testing-library/react": "11.2.5",
"@testing-library/react-hooks": "4.0.1",
"@types/jest": "26.0.20",
"@types/lru-cache": "5.1.0",
"@types/node": "12.20.0",
"@types/react": "17.0.2",
"@types/react-dom": "17.0.1",
"axios": "0.21.1",
"babel-eslint": "10.1.0",
"cross-env": "7.0.3",
"eslint": "7.20.0",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-react-hooks": "4.2.0",
"husky": "5.0.9",
"jest": "26.6.3",
"lint-staged": "10.5.4",
"npm-run-all": "4.1.5",
"prettier": "2.2.1",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-test-renderer": "17.0.1",
"rimraf": "3.0.2",
"standard-version": "9.1.0",
"ts-jest": "26.5.1",
"typescript": "4.1.5"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged",
"post-merge": "npm i"
}
},
"lint-staged": {
"{src,test}/**/*.{js?(x),md}": [
"eslint --fix"
]
}
}