-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
79 lines (79 loc) · 1.98 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
{
"name": "@axios-use/react",
"version": "6.6.0",
"description": "A React hook plugin for Axios. Lightweight, cancelable and less change",
"contributors": [
"Matheus Schettino <[email protected]>",
"Dave Wang <[email protected]>"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/axios-use/react.git"
},
"keywords": [
"axios",
"hooks",
"react",
"request",
"useRequest",
"useResource"
],
"main": "lib/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "rm -rf ./lib/* ./esm/* && yarn build:cjs && yarn build:es",
"build:cjs": "tsc",
"build:es": "tsc -m ESNext --outDir ./esm",
"test": "jest -c jest.json",
"lint": "eslint .",
"prettier": "prettier --write '**/*' --config ./.prettierrc",
"prepare": "yarn build"
},
"dependencies": {
"fast-deep-equal": "^3.1.3",
"object-code": "^1.2.4"
},
"peerDependencies": {
"axios": ">=0.21.4",
"react": ">=16.8.2"
},
"devDependencies": {
"@testing-library/react": "^14.0.0",
"@types/jest": "^27.4.0",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.3",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"axios": "^1.1.3",
"axios-mock-adapter": "^1.20.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"husky": "^4.3.6",
"jest": "^27.5.1",
"lint-staged": "^10.5.3",
"prettier": "^2.6.2",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-test-renderer": "^18.1.0",
"ts-jest": "^27.1.3",
"typescript": "^4.6.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn test"
}
},
"lint-staged": {
"**/*.{ts,tsx,js,jsx}": [
"prettier --write",
"eslint",
"git add"
]
}
}