-
-
Notifications
You must be signed in to change notification settings - Fork 114
/
package.json
125 lines (125 loc) · 3.8 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "use-http",
"version": "1.0.25",
"homepage": "https://use-http.com",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/alex-cory/use-http.git"
},
"dependencies": {
"urs": "^0.0.8",
"use-ssr": "^1.0.24",
"utility-types": "^3.10.0"
},
"peerDependencies": {
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@testing-library/react": "^10.0.2",
"@testing-library/react-hooks": "^3.2.1",
"@types/fetch-mock": "^7.3.2",
"@types/jest": "^25.1.4",
"@types/node": "^13.9.8",
"@types/react": "^16.9.30",
"@types/react-dom": "^16.9.5",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"convert-keys": "^1.3.4",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jest-formatting": "^1.2.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^3.0.0",
"eslint-plugin-standard": "^4.0.1",
"eslint-watch": "^6.0.1",
"jest": "^25.2.4",
"jest-fetch-mock": "^3.0.3",
"jest-mock-console": "^1.0.0",
"mockdate": "^2.0.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-hooks-testing-library": "^0.6.0",
"react-test-renderer": "^16.13.1",
"ts-jest": "^25.3.0",
"typescript": "^3.8.3",
"watch": "^1.0.2"
},
"scripts": {
"prepublishOnly": "yarn build:production && yarn build:production:esm # runs before publish",
"build": "rm -rf dist/cjs && tsc --module CommonJS --outDir dist/cjs",
"build:esm": "rm -rf dist/esm && tsc",
"build:production": "yarn build -p tsconfig.production.json",
"build:production:esm": "yarn build:esm -p tsconfig.production.json",
"build:watch": "rm -rf dist && tsc -w --module CommonJS",
"tsc": "tsc -p . --noEmit && tsc -p ./src/__tests__",
"test:browser": "yarn tsc && jest -c ./config/jest.config.js --env=jsdom",
"test:browser:watch": "yarn tsc && jest --watch -c ./config/jest.config.js --env=jsdom",
"test:server": "yarn tsc && jest -c ./config/jest.config.js --env=node --testPathIgnorePatterns useFetch.test.tsx doFetchArgs.test.tsx",
"test:server:watch": "yarn tsc && jest --watch -c ./config/jest.config.js --env=node --testPathIgnorePatterns useFetch.test.tsx doFetchArgs.test.tsx",
"test:watch": "yarn test:browser:watch && yarn test:server:watch",
"test": "yarn test:browser && yarn test:server",
"clean": "npm prune; yarn cache clean; rm -rf ./node_modules package-lock.json yarn.lock; yarn",
"lint": "eslint ./src/**/*.{ts,tsx}",
"lint:fix": "npm run lint -- --fix",
"lint:watch": "watch 'yarn lint'"
},
"files": [
"dist"
],
"keywords": [
"react hook",
"react-hook",
"use",
"isomorphic",
"use",
"http",
"fetch",
"hook",
"react",
"useFetch",
"fetch",
"request",
"axios",
"react-use-fetch",
"react-fetch-hook",
"use-fetch",
"suspense",
"fetch data",
"usefetch hook",
"react-hooks-fetch",
"react usefetch",
"react hooks tutorial",
"react-cache",
"react custom hooks",
"react-usefetch",
"react hooks async",
"react suspense",
"use hooks",
"react usefetch hook",
"fetch-suspense",
"async hook react",
"react-hooks-fetch",
"react hooks usefetch",
"use fetch hook",
"react fetch hook",
"graphql",
"mutation",
"query",
"useAxios",
"use-axios",
"use-superagent",
"superagent",
"apollo",
"useGraphQL",
"use-graphql"
]
}