axios-hooks/package.json

101 lines
2.7 KiB
JSON

{
"name": "axios-hooks",
"version": "1.9.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 coverage",
"commit": "npx git-cz",
"format": "prettier --write \"{src,test}/**/*.{js,md,ts}\"",
"lint": "eslint src test",
"prepare": "npm run clean && npm run build",
"prepublishOnly": "npm run build",
"release": "standard-version",
"pretest": "cp ./test/index.test.js ./test/index.test.ts && cp ./test/index.test.ssr.jsx ./test/index.test.ssr.tsx",
"test": "jest --no-cache"
},
"dependencies": {
"@babel/runtime": "7.8.7",
"lru-cache": "5.1.1"
},
"peerDependencies": {
"react": "^16.8.0-0",
"axios": "^0.18.0 || ^0.19.0"
},
"devDependencies": {
"@babel/cli": "7.8.4",
"@babel/core": "7.8.7",
"@babel/plugin-transform-runtime": "7.8.3",
"@babel/preset-env": "7.8.7",
"@babel/preset-react": "7.8.3",
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.3.4",
"@testing-library/react-hooks": "3.2.1",
"@types/jest": "25.1.4",
"@types/lru-cache": "5.1.0",
"@types/node": "12.12.24",
"@types/react": "16.9.23",
"@types/react-dom": "16.9.5",
"axios": "0.19.2",
"babel-eslint": "10.1.0",
"cross-env": "7.0.2",
"cz-conventional-changelog": "3.1.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.1",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "2.5.0",
"husky": "4.2.3",
"jest": "25.1.0",
"lint-staged": "10.0.8",
"npm-run-all": "4.1.5",
"prettier": "1.19.1",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-test-renderer": "16.13.1",
"rimraf": "3.0.2",
"standard-version": "7.1.0",
"ts-jest": "25.2.1",
"typescript": "3.8.3"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged",
"post-merge": "npm i"
}
},
"lint-staged": {
"src/**/*.{js,md}": [
"prettier --write",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}