-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
95 lines (95 loc) · 2.68 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
{
"name": "use-local-storage-state",
"version": "19.5.0",
"description": "React hook that persist data in localStorage",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/astoilkov/use-local-storage-state.git"
},
"funding": "https://github.com/sponsors/astoilkov",
"homepage": "https://github.com/astoilkov/use-local-storage-state",
"author": {
"name": "Antonio Stoilkov",
"email": "[email protected]",
"url": "https://astoilkov.com"
},
"keywords": [
"react",
"hook",
"localStorage",
"persistent",
"state",
"useState",
"hooks",
"local storage",
"store"
],
"type": "module",
"exports": {
"types": "./index.d.ts",
"default": "./index.js"
},
"sideEffects": false,
"scripts": {
"build": "tsc",
"size": "yarn build && size-limit",
"lint": "eslint --cache --format=pretty --ext=.ts ./",
"test": "yarn build && yarn lint && vitest --run",
"release": "yarn build && np",
"prettier": "prettier --write --config .prettierrc.yaml {*.ts,*.json}"
},
"engines": {
"node": ">=14"
},
"files": [
"index.js",
"index.d.ts",
"src/**/*.js",
"src/**/*.d.ts"
],
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^11.1.1",
"@testing-library/react": "^14.0.0",
"@types/react": "^18.2.67",
"@types/react-dom": "^18.2.22",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitest/coverage-v8": "^1.4.0",
"confusing-browser-globals": "^1.0.11",
"eslint": "^8.21.0",
"eslint-config-strictest": "^0.8.1",
"eslint-formatter-pretty": "^5.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-unicorn": "^43.0.2",
"jsdom": "^22.1.0",
"np": "^7.6.3",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.1.0",
"size-limit": "^11.1.1",
"superjson": "^2.2.1",
"typescript": "^5.4.2",
"vitest": "^1.4.0"
},
"size-limit": [
{
"name": "import *",
"path": "index.js",
"limit": "1.7 kB",
"brotli": false
},
{
"name": "import *",
"path": "index.js",
"limit": "750 B"
}
]
}