UNPKG

1.76 kBJSONView Raw
1{
2 "name": "react-async-hook",
3 "version": "3.6.2",
4 "description": "Async hook",
5 "author": "Sébastien Lorber",
6 "license": "MIT",
7 "repository": "http://github.com/slorber/react-async-hook",
8 "keywords": [
9 "react-async-hook",
10 "async",
11 "fetch",
12 "axios",
13 "promise",
14 "react",
15 "react-native",
16 "reactjs",
17 "reactnative",
18 "hooks",
19 "hook",
20 "useAsync",
21 "useState",
22 "useFetch",
23 "usePromise",
24 "use-async",
25 "use-state",
26 "use-fetch",
27 "use-promise"
28 ],
29 "engines": {
30 "node": ">=8",
31 "npm": ">=5"
32 },
33 "main": "dist/index.js",
34 "module": "dist/react-async-hook.esm.js",
35 "typings": "dist/index.d.ts",
36 "files": [
37 "dist"
38 ],
39 "scripts": {
40 "start": "tsdx watch",
41 "build": "tsdx build",
42 "test": "tsdx test --env=jsdom"
43 },
44 "peerDependencies": {
45 "react": ">=16.8"
46 },
47 "husky": {
48 "hooks": {
49 "pre-commit": "pretty-quick --staged"
50 }
51 },
52 "prettier": {
53 "printWidth": 80,
54 "semi": true,
55 "singleQuote": true,
56 "trailingComma": "es5"
57 },
58 "jest": {
59 "globals": {
60 "ts-jest": {
61 "tsConfig": "tsconfig.test.json"
62 }
63 },
64 "setupFilesAfterEnv": [
65 "@testing-library/jest-dom/extend-expect"
66 ]
67 },
68 "devDependencies": {
69 "@testing-library/jest-dom": "^4.1.2",
70 "@testing-library/react": "^9.3.0",
71 "@testing-library/react-hooks": "^3.1.0",
72 "@types/jest": "^24.0.12",
73 "@types/react": "^16.9.9",
74 "@types/react-dom": "^16.9.2",
75 "husky": "^2.2.0",
76 "prettier": "^1.17.0",
77 "pretty-quick": "^1.10.0",
78 "react": "^16.10.2",
79 "react-dom": "^16.10.2",
80 "react-test-renderer": "^16.10.2",
81 "tsdx": "^0.7.2",
82 "tslib": "^1.9.3",
83 "typescript": "^3.4.5"
84 }
85}