Open History to see the last commit
1{
2 "name": "@tanstack/react-start-rsc",
3 "version": "0.1.53",
4 "description": "React Server Components support for TanStack Start",
5 "author": "Tanner Linsley",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "git+https://github.com/TanStack/router.git",
10 "directory": "packages/react-start-rsc"
11 },
12 "homepage": "https://tanstack.com/start",
13 "funding": {
14 "type": "github",
15 "url": "https://github.com/sponsors/tannerlinsley"
16 },
17 "keywords": [
18 "react",
19 "rsc",
20 "server components",
21 "router",
22 "routing",
23 "typescript"
24 ],
25 "scripts": {
26 "clean": "rimraf ./dist && rimraf ./coverage",
27 "test": "pnpm test:eslint && pnpm test:types && pnpm test:build && pnpm test:unit",
28 "test:unit": "vitest",
29 "test:unit:dev": "vitest --watch",
30 "test:eslint": "eslint ./src",
31 "test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
32 "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js",
33 "test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js",
34 "test:types:ts58": "node ../../node_modules/typescript58/lib/tsc.js",
35 "test:types:ts59": "node ../../node_modules/typescript59/lib/tsc.js",
36 "test:types:ts60": "tsc6",
37 "test:types:ts70": "tsc",
38 "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .",
39 "build": "vite build"
40 },
41 "type": "module",
42 "types": "dist/esm/src/index.d.ts",
43 "exports": {
44 ".": {
45 "react-server": {
46 "types": "./dist/esm/src/index.rsc.d.ts",
47 "default": "./dist/esm/index.rsc.js"
48 },
49 "import": {
50 "types": "./dist/esm/src/index.d.ts",
51 "default": "./dist/esm/index.js"
52 }
53 },
54 "./serialization.client": {
55 "import": {
56 "types": "./dist/esm/src/serialization.client.d.ts",
57 "default": "./dist/esm/serialization.client.js"
58 }
59 },
60 "./serialization.server": {
61 "import": {
62 "types": "./dist/esm/src/serialization.server.d.ts",
63 "default": "./dist/esm/serialization.server.js"
64 }
65 },
66 "./plugin/vite": {
67 "import": {
68 "types": "./dist/esm/src/plugin/vite.d.ts",
69 "default": "./dist/esm/plugin/vite.js"
70 }
71 },
72 "./plugin/rscCssTransform": {
73 "import": {
74 "types": "./dist/esm/src/plugin/rscCssTransform.d.ts",
75 "default": "./dist/esm/plugin/rscCssTransform.js"
76 }
77 },
78 "./rsbuild/ssr-decode": {
79 "import": {
80 "types": "./dist/esm/src/rsbuild/ssr-decode.d.ts",
81 "default": "./dist/esm/rsbuild/ssr-decode.js"
82 }
83 },
84 "./rsbuild/browser-decode": {
85 "import": {
86 "types": "./dist/esm/src/rsbuild/browser-decode.d.ts",
87 "default": "./dist/esm/rsbuild/browser-decode.js"
88 }
89 },
90 "./package.json": "./package.json"
91 },
92 "files": [
93 "dist",
94 "src"
95 ],
96 "engines": {
97 "node": ">=22.12.0"
98 },
99 "dependencies": {
100 "@tanstack/react-router": "workspace:*",
101 "@tanstack/router-core": "workspace:*",
102 "@tanstack/router-utils": "workspace:*",
103 "@tanstack/start-client-core": "workspace:*",
104 "@tanstack/start-fn-stubs": "workspace:*",
105 "@tanstack/start-plugin-core": "workspace:*",
106 "@tanstack/start-storage-context": "workspace:*",
107 "pathe": "catalog:"
108 },
109 "devDependencies": {
110 "@rspack/core": "2.0.0",
111 "@testing-library/react": "catalog:",
112 "@vitejs/plugin-react": "catalog:",
113 "@vitejs/plugin-rsc": "^0.5.30",
114 "react-server-dom-rspack": "^0.0.2",
115 "@tanstack/vite-config": "catalog:",
116 "vitest": "catalog:",
117 "jsdom": "catalog:",
118 "@eslint-react/eslint-plugin": "catalog:",
119 "eslint-plugin-react-hooks": "catalog:",
120 "react": "catalog:",
121 "react-dom": "catalog:",
122 "@types/react": "catalog:",
123 "@types/react-dom": "catalog:",
124 "@arethetypeswrong/cli": "catalog:",
125 "publint": "catalog:",
126 "rimraf": "catalog:"
127 },
128 "peerDependencies": {
129 "@rspack/core": ">=2.0.0-0",
130 "@vitejs/plugin-rsc": ">=0.5.30",
131 "react": ">=18.0.0 || >=19.0.0",
132 "react-dom": ">=18.0.0 || >=19.0.0",
133 "react-server-dom-rspack": ">=0.0.2"
134 },
135 "peerDependenciesMeta": {
136 "@rspack/core": {
137 "optional": true
138 },
139 "@vitejs/plugin-rsc": {
140 "optional": true
141 },
142 "react-server-dom-rspack": {
143 "optional": true
144 }
145 }
146}