-
Notifications
You must be signed in to change notification settings - Fork 45
/
package.json
85 lines (85 loc) · 1.72 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
{
"name": "react-async-hook",
"version": "4.0.0",
"description": "Async hook",
"author": "Sébastien Lorber",
"license": "MIT",
"repository": "http://github.com/slorber/react-async-hook",
"keywords": [
"react-async-hook",
"async",
"fetch",
"axios",
"promise",
"react",
"react-native",
"reactjs",
"reactnative",
"hooks",
"hook",
"useAsync",
"useState",
"useFetch",
"usePromise",
"use-async",
"use-state",
"use-fetch",
"use-promise"
],
"engines": {
"node": ">=8",
"npm": ">=5"
},
"main": "dist/index.js",
"module": "dist/react-async-hook.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --env=jsdom"
},
"peerDependencies": {
"react": ">=16.8"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.test.json"
}
},
"setupFilesAfterEnv": [
"@testing-library/jest-dom/extend-expect"
]
},
"devDependencies": {
"@testing-library/jest-dom": "^4.1.2",
"@testing-library/react": "^9.3.0",
"@testing-library/react-hooks": "^3.1.0",
"@types/jest": "^24.0.12",
"@types/react": "^16.9.9",
"@types/react-dom": "^16.9.2",
"husky": "^2.2.0",
"prettier": "^1.17.0",
"pretty-quick": "^1.10.0",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-test-renderer": "^16.10.2",
"tsdx": "^0.7.2",
"tslib": "^1.9.3",
"typescript": "^3.4.5"
}
}