-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.58 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
{
"name": "use-request",
"version": "0.2.0",
"description": "Call, observe and persist the result of your async functions with ease of `useCallback`!",
"keywords": [
"async",
"promise",
"hook",
"react",
"api"
],
"author": "termosa",
"license": "MIT",
"repository": "termosa/use-request",
"homepage": "http://gh.me.st/use-request/",
"main": "dist/index.js",
"module": "dist/index.es.js",
"browser": "dist/index.umd.min.js",
"unpkg": "dist/index.umd.min.js",
"types": "dist/index.d.ts",
"jsnext:main": "dist/index.es.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"scripts": {
"test": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"build": "rollup -c && tsc -d --emitDeclarationOnly --noEmit false --declarationDir dist",
"start": "rollup -c -w",
"prepare": "npm run build",
"predeploy": "cd example && npm install && npm run build",
"deploy": "gh-pages -d example/build"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/runtime": "^7.3.1",
"@rollup/plugin-babel": "^5.2.0",
"@rollup/plugin-typescript": "^5.0.2",
"@testing-library/react-hooks": "^3.2.1",
"@types/jest": "^23.3.13",
"@types/react": "^18.0.00",
"cross-env": "^5.2.0",
"gh-pages": "^6.1.1",
"react": "^18.0.0",
"react-scripts": "^5.0.1",
"react-test-renderer": "^18.3.1",
"rollup": "^2.26.9",
"rollup-plugin-terser": "^7.0.2",
"tslib": "^2.6.3",
"typescript": "^4.7.4"
}
}