-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 1.84 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 1.84 KB
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
{
"name": "use-db",
"version": "2.0.0",
"description": "IndexedDB React hook that mimics useState API supporting optimistic updates",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/astoilkov/use-db"
},
"funding": "https://github.com/sponsors/astoilkov",
"author": {
"name": "Antonio Stoilkov",
"email": "hello@astoilkov.com",
"url": "https://astoilkov.com"
},
"keywords": [
"IndexedDB",
"React",
"hooks",
"useState",
"Storage",
"localStorage",
"sessionStorage",
"setItem",
"getItem",
"removeItem",
"persistent"
],
"type": "module",
"exports": {
"types": "./index.d.ts",
"default": "./index.js"
},
"sideEffects": false,
"engines": {
"node": ">=16"
},
"scripts": {
"build": "tsc",
"test": "yarn build && vitest run --coverage",
"test:ui": "yarn build && vitest --ui --coverage --reporter html",
"release": "yarn build && np"
},
"files": [
"index.js",
"index.d.ts",
"src/**/*.js",
"src/**/*.d.ts"
],
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitest/coverage-v8": "^2.1.5",
"@vitest/ui": "^2.1.5",
"fake-indexeddb": "^6.0.0",
"jsdom": "^25.0.1",
"np": "^7.6.3",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.5.3",
"vitest": "^2.1.5"
},
"dependencies": {
"local-db-storage": "^2.0.0"
}
}