forked from simoneb/axios-hooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.57 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "axios-hooks",
"version": "3.0.0",
"description": "axios-hooks",
"keywords": [
"axios",
"react",
"hooks"
],
"license": "MIT",
"author": "Simone Busoli <[email protected]>",
"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.16.3",
"dequal": "2.0.2",
"lru-cache": "6.0.0"
},
"peerDependencies": {
"react": "^16.8.0-0 || ^17.0.0",
"axios": "^0.24.0"
},
"devDependencies": {
"@babel/cli": "7.16.0",
"@babel/core": "7.16.0",
"@babel/plugin-transform-runtime": "7.16.4",
"@babel/preset-env": "7.16.4",
"@babel/preset-react": "7.16.0",
"@commitlint/cli": "15.0.0",
"@commitlint/config-conventional": "15.0.0",
"@testing-library/react": "12.1.2",
"@testing-library/react-hooks": "7.0.2",
"@types/jest": "27.0.3",
"@types/lru-cache": "5.1.1",
"@types/node": "16.11.12",
"@types/react": "17.0.37",
"@types/react-dom": "17.0.11",
"axios": "0.24.0",
"babel-eslint": "10.1.0",
"cross-env": "7.0.3",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.27.1",
"eslint-plugin-react-hooks": "4.3.0",
"husky": "7.0.4",
"jest": "26.6.3",
"lint-staged": "12.1.2",
"npm-run-all": "4.1.5",
"prettier": "2.5.1",
"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.5.2"
},
"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"
]
}
}