/
package.json
68 lines (68 loc) · 2 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
{
"name": "u2hooks",
"version": "0.1.8",
"description": "An efficient React Hooks",
"main": "lib/index.js",
"module": "esm/index.js",
"sideEffects": false,
"types": "lib/index.d.ts",
"files": [
"lib",
"esm",
"package.json"
],
"homepage": "https://github.com/hardmanhong/u2hooks",
"scripts": {
"start": "rollup -w --environment NODE_ENV:development -c config/rollup.config.dev.js",
"build:cjs": "tsc",
"build:es": "tsc -m esNext --outDir esm",
"build": "rimraf lib esm && yarn build:cjs && yarn build:es",
"release": "npm run build && npm publish"
},
"author": "goandup@qq.com",
"license": "ISC",
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0",
"react-router-dom": ">=5.1.0"
},
"dependencies": {
"@ahooksjs/use-request": "2.8.10",
"lodash": "^4.17.21",
"query-string": "7.0.1"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "7.15.0",
"@rollup/plugin-alias": "^3.1.5",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-eslint": "^8.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-replace": "^3.0.0",
"@rollup/plugin-typescript": "^8.2.5",
"@types/lodash": "^4.14.172",
"@types/react": "^17.0.19",
"@types/react-router-dom": "^5.1.8",
"ahooks": "^2.10.9",
"antd": "^4.16.13",
"postcss": "^8.3.6",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^5.2.0",
"rimraf": "^3.0.2",
"rollup": "^2.70.1",
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-postcss": "^4.0.1",
"rollup-plugin-serve": "^1.1.0",
"rollup-plugin-terser": "^7.0.2",
"tslib": "^2.3.1",
"typescript": "^4.4.2"
}
}