-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
package.json
90 lines (90 loc) · 2.27 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
{
"name": "@trpc/react-query",
"version": "10.19.0",
"description": "tRPC React lib",
"author": "KATT",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.mjs",
"typings": "dist/index.d.ts",
"homepage": "https://trpc.io",
"repository": {
"type": "git",
"url": "git+https://github.com/trpc/trpc.git",
"directory": "packages/react"
},
"scripts": {
"build": "rollup --config rollup.config.ts --configPlugin rollup-plugin-swc3",
"dev": "pnpm build --watch",
"codegen:entrypoints": "tsx entrypoints.script.ts",
"lint": "eslint --cache --ext \".js,.ts,.tsx\" --ignore-path ../../.gitignore --report-unused-disable-directives src",
"ts-watch": "tsc --project tsconfig.watch.json"
},
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.js"
},
"./server": {
"import": "./dist/server/index.mjs",
"require": "./dist/server/index.js",
"default": "./dist/server/index.js"
},
"./shared": {
"import": "./dist/shared/index.mjs",
"require": "./dist/shared/index.js",
"default": "./dist/shared/index.js"
},
"./ssg": {
"import": "./dist/ssg/index.mjs",
"require": "./dist/ssg/index.js",
"default": "./dist/ssg/index.js"
}
},
"files": [
"dist",
"src",
"README.md",
"package.json",
"server",
"shared",
"ssg"
],
"eslintConfig": {
"rules": {
"react-hooks/exhaustive-deps": "error",
"no-restricted-imports": [
"error",
"@trpc/react-query"
]
}
},
"peerDependencies": {
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "10.19.0",
"@trpc/server": "10.19.0",
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "10.19.0",
"@trpc/server": "10.19.0",
"@types/express": "^4.17.12",
"@types/node": "^18.7.20",
"@types/react": "^18.0.9",
"eslint": "^8.30.0",
"express": "^4.17.1",
"next": "^13.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^2.79.1",
"tsx": "^3.12.3",
"zod": "^3.0.0"
},
"publishConfig": {
"access": "public"
}
}