-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
99 lines (99 loc) · 2.84 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
{
"name": "use-storage-state",
"version": "5.0.0",
"description": "React hook that you can wire with any Storage compatible API like `localStorage`, `sessionStorage`, or a custom one.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/astoilkov/use-storage-state.git"
},
"funding": "https://github.com/sponsors/astoilkov",
"homepage": "https://github.com/astoilkov/use-storage-state",
"author": {
"name": "Antonio Stoilkov",
"email": "[email protected]",
"url": "https://astoilkov.com"
},
"keywords": [
"react",
"hook",
"Storage",
"localStorage",
"sessionStorage",
"persistent",
"state",
"useState",
"hooks",
"local storage",
"session storage",
"store"
],
"type": "module",
"exports": {
"types": "./index.d.ts",
"default": "./index.js"
},
"sideEffects": false,
"scripts": {
"build": "tsc",
"size": "yarn build && size-limit",
"test": "yarn build && vitest run --coverage",
"test:ui": "yarn build && vitest --ui --coverage --reporter html",
"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": "^2.0.5",
"@vitest/ui": "^2.0.5",
"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": "^2.0.5"
},
"size-limit": [
{
"name": "import *",
"path": "index.js",
"limit": "1.9 kB",
"brotli": false
},
{
"name": "import *",
"path": "index.js",
"limit": "800 B"
}
]
}