-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
60 lines (60 loc) · 1.38 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
{
"name": "@piotr-cz/swr-idb-cache",
"version": "1.1.2",
"description": "IndexedDB Cache Provider for SWR",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/piotr-cz/swr-idb-cache.git"
},
"author": "Piotr Konieczny <hello@piotr.cz> (https://www.piotr.cz)",
"homepage": "https://github.com/piotr-cz/swr-idb-cache",
"license": "MIT",
"keywords": [
"swr",
"cache",
"IndexedDB",
"idb"
],
"scripts": {
"build": "bunchee",
"npmpublish": "npm publish",
"prepare": "npm run build",
"types:check": "tsc --noEmit",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"idb": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
},
"devDependencies": {
"@types/react": "^18.3.3",
"bunchee": "^5.3.2",
"react": "^18.0.0",
"swr": "^2.0.0",
"typescript": "^5.5.4"
},
"peerDependencies": {
"react": "^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"swr": "^2.0.0-beta.3"
},
"publishConfig": {
"access": "public"
}
}