-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
82 lines (82 loc) · 1.79 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
{
"name": "@sprit/use-cache-state",
"version": "1.0.3",
"license": "MIT",
"keywords": [
"react hook",
"cache hook",
"缓存 hook"
],
"description": "This is a React hook that can cache state values.可缓存 state 的 hook.",
"author": "[email protected]",
"module": "dist/use-cache-state.esm.js",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"README.MD"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"repository": {
"type": "git",
"url": "https://github.com/fantian007/use-cache-state"
},
"homepage": "https://github.com/fantian007/use-cache-state",
"peerDependencies": {
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"size-limit": [
{
"path": "dist/use-cache-state.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/use-cache-state.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^8.1.2",
"@types/lodash-es": "^4.17.6",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"husky": "^8.0.3",
"np": "^7.6.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^8.1.2",
"tsdx": "^0.14.1",
"tslib": "^2.5.0",
"typescript": "^4.9.5"
},
"dependencies": {
"immer": "^9.0.19",
"localforage": "^1.10.0",
"lodash-es": "^4.17.21"
}
}