-
-
Notifications
You must be signed in to change notification settings - Fork 145
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.91 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 1.91 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
{
"name": "@zenstackhq/swr",
"displayName": "ZenStack plugin for generating SWR hooks",
"version": "2.22.2",
"description": "ZenStack plugin for generating SWR hooks",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/zenstackhq/zenstack"
},
"scripts": {
"clean": "rimraf dist",
"build": "pnpm lint --max-warnings=0 && pnpm clean && tsc && tsup-node --config ./tsup.config.ts && copyfiles ./package.json ./README.md ./LICENSE dist && pnpm pack dist --pack-destination ../../../../.build",
"watch": "concurrently \"tsc --watch\" \"tsup-node --config ./tsup.config.ts --watch\"",
"lint": "eslint src --ext ts",
"test": "jest",
"prepublishOnly": "pnpm build"
},
"publishConfig": {
"directory": "dist",
"linkDirectory": true
},
"keywords": [],
"author": "ZenStack Team",
"license": "MIT",
"exports": {
".": {
"default": "./index.js"
},
"./package.json": {
"default": "./package.json"
},
"./runtime": {
"types": "./runtime/index.d.ts",
"import": "./runtime/index.mjs",
"require": "./runtime/index.js",
"default": "./runtime/index.js"
}
},
"dependencies": {
"@zenstackhq/runtime": "workspace:*",
"@zenstackhq/sdk": "workspace:*",
"cross-fetch": "^4.0.0",
"semver": "^7.5.2",
"ts-morph": "catalog:",
"ts-pattern": "^4.3.0"
},
"peerDependencies": {
"swr": "2.2.5 - 2"
},
"devDependencies": {
"@tanstack/react-query": "^4.28.0",
"@testing-library/react": "^14.0.0",
"@types/react": "18.2.0",
"@types/semver": "^7.3.13",
"@types/tmp": "^0.2.3",
"@zenstackhq/testtools": "workspace:*",
"nock": "^13.3.6",
"react": "18.2.0"
}
}