-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
76 lines (76 loc) · 1.92 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
{
"name": "swr-devtools",
"version": "1.3.2",
"description": "A React component for SWR DevTools",
"main": "cjs/index.js",
"module": "lib/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./lib/index.js",
"require": "./cjs/index.js",
"types": "./lib/index.d.ts"
},
"./lib/swr-cache": {
"import": "./lib/swr-cache.js",
"require": "./cjs/swr-cache.js",
"types": "./lib/swr-cache.d.ts"
},
"./lib/createSWRDevTools": {
"import": "./lib/createSWRDevTools.js",
"require": "./cjs/createSWRDevTools.js",
"types": "./lib/createSWRDevTools.d.ts"
}
},
"types": "lib/index.d.ts",
"license": "MIT",
"files": [
"lib",
"cjs"
],
"keywords": [
"swr"
],
"author": "koba04",
"repository": {
"type": "git",
"url": "https://github.com/koba04/swr-devtools.git"
},
"homepage": "https://github.com/koba04/swr-devtools",
"bugs": "https://github.com/koba04/swr-devtools/issues",
"scripts": {
"clean": "rimraf lib cjs",
"format": "biome format --write .",
"start": "run-p start:*",
"start:cjs": "tsc -p tsconfig.cjs.json --watch",
"start:esm": "tsc --watch",
"prebuild": "pnpm clean",
"build": "run-p build:*",
"build:esm": "tsc",
"build:cjs": "tsc -p tsconfig.cjs.json",
"fix:biome": "biome check --apply-unsafe .",
"lint": "run-p lint:*",
"lint:biome": "biome check .",
"lint:tsc": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest"
},
"peerDependencies": {
"react": ">=17.0.2",
"swr": ">=1.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/react": "^18.0.20",
"jsdom": "^21.1.1",
"react": "^18.2.0",
"swr": "^2.0.0",
"typescript": "^4.8.3",
"vite": "^4.2.0",
"vitest": "^0.29.3"
},
"dependencies": {
"superjson": "^1.11.0"
}
}