Open History to see the last commit
1{
2 "name": "@benchmarks/client-nav",
3 "private": true,
4 "type": "module",
5 "scripts": {
6 "build:react": "NODE_ENV=production vite build --config ./react/vite.config.ts",
7 "build:solid": "NODE_ENV=production vite build --config ./solid/vite.config.ts",
8 "build:vue": "NODE_ENV=production vite build --config ./vue/vite.config.ts",
9 "test:flame:react": "NODE_ENV=production flame run --md-format=detailed --delay=none --node-options=\"--stack-size=65500\" ./react/speed.flame.ts",
10 "test:flame:solid": "NODE_ENV=production flame run --md-format=detailed --delay=none --node-options=\"--stack-size=65500\" ./solid/speed.flame.ts",
11 "test:flame:vue": "NODE_ENV=production flame run --md-format=detailed --delay=none --node-options=\"--stack-size=65500\" ./vue/speed.flame.ts",
12 "test:perf": "NODE_ENV=production vitest bench --config ./vitest.config.ts",
13 "test:perf:react": "NODE_ENV=production vitest bench --config ./vitest.react.config.ts",
14 "test:perf:solid": "NODE_ENV=production vitest bench --config ./vitest.solid.config.ts",
15 "test:perf:vue": "NODE_ENV=production vitest bench --config ./vitest.vue.config.ts",
16 "test:types": "pnpm run test:types:react && pnpm run test:types:solid && pnpm run test:types:vue",
17 "test:types:react": "tsc -p ./react/tsconfig.json --noEmit",
18 "test:types:solid": "tsc -p ./solid/tsconfig.json --noEmit",
19 "test:types:vue": "tsc -p ./vue/tsconfig.json --noEmit"
20 },
21 "dependencies": {
22 "@tanstack/history": "workspace:^",
23 "@tanstack/react-router": "workspace:^",
24 "@tanstack/router-core": "workspace:^",
25 "@tanstack/solid-router": "workspace:^",
26 "@tanstack/vue-router": "workspace:^",
27 "react": "^19.0.0",
28 "react-dom": "^19.0.0",
29 "solid-js": "^1.9.10",
30 "vue": "^3.5.16"
31 },
32 "devDependencies": {
33 "@platformatic/flame": "^1.6.0",
34 "@codspeed/vitest-plugin": "^5.5.0",
35 "@tanstack/router-plugin": "workspace:^",
36 "@testing-library/react": "^16.2.0",
37 "@vitejs/plugin-react": "^6.0.1",
38 "@vitejs/plugin-vue": "^6.0.5",
39 "@vitejs/plugin-vue-jsx": "^5.1.5",
40 "@types/jsdom": "28.0.0",
41 "@types/react": "catalog:",
42 "@types/react-dom": "catalog:",
43 "@typescript/native": "npm:typescript@^7.0.2",
44 "jsdom": "^29.1.1",
45 "typescript": "npm:@typescript/typescript6@^6.0.2",
46 "vite": "^8.0.14",
47 "vite-plugin-solid": "^2.11.11",
48 "vitest": "catalog:"
49 },
50 "nx": {
51 "targets": {
52 "build:react": {
53 "cache": false,
54 "dependsOn": [
55 {
56 "projects": [
57 "@tanstack/react-router"
58 ],
59 "target": "build"
60 },
61 {
62 "projects": [
63 "@benchmarks/client-nav-async-pipeline-react",
64 "@benchmarks/client-nav-control-flow-react",
65 "@benchmarks/client-nav-head-react",
66 "@benchmarks/client-nav-history-react",
67 "@benchmarks/client-nav-links-react",
68 "@benchmarks/client-nav-loaders-react",
69 "@benchmarks/client-nav-mount-react",
70 "@benchmarks/client-nav-nested-params-react",
71 "@benchmarks/client-nav-preload-react",
72 "@benchmarks/client-nav-rewrites-react",
73 "@benchmarks/client-nav-route-tree-scale-react",
74 "@benchmarks/client-nav-search-params-react"
75 ],
76 "target": "build:client"
77 }
78 ]
79 },
80 "build:solid": {
81 "cache": false,
82 "dependsOn": [
83 {
84 "projects": [
85 "@tanstack/solid-router"
86 ],
87 "target": "build"
88 },
89 {
90 "projects": [
91 "@benchmarks/client-nav-async-pipeline-solid",
92 "@benchmarks/client-nav-control-flow-solid",
93 "@benchmarks/client-nav-head-solid",
94 "@benchmarks/client-nav-history-solid",
95 "@benchmarks/client-nav-links-solid",
96 "@benchmarks/client-nav-loaders-solid",
97 "@benchmarks/client-nav-mount-solid",
98 "@benchmarks/client-nav-nested-params-solid",
99 "@benchmarks/client-nav-preload-solid",
100 "@benchmarks/client-nav-rewrites-solid",
101 "@benchmarks/client-nav-route-tree-scale-solid",
102 "@benchmarks/client-nav-search-params-solid"
103 ],
104 "target": "build:client"
105 }
106 ]
107 },
108 "build:vue": {
109 "cache": false,
110 "dependsOn": [
111 {
112 "projects": [
113 "@tanstack/vue-router"
114 ],
115 "target": "build"
116 },
117 {
118 "projects": [
119 "@benchmarks/client-nav-async-pipeline-vue",
120 "@benchmarks/client-nav-control-flow-vue",
121 "@benchmarks/client-nav-head-vue",
122 "@benchmarks/client-nav-history-vue",
123 "@benchmarks/client-nav-links-vue",
124 "@benchmarks/client-nav-loaders-vue",
125 "@benchmarks/client-nav-mount-vue",
126 "@benchmarks/client-nav-nested-params-vue",
127 "@benchmarks/client-nav-preload-vue",
128 "@benchmarks/client-nav-rewrites-vue",
129 "@benchmarks/client-nav-route-tree-scale-vue",
130 "@benchmarks/client-nav-search-params-vue"
131 ],
132 "target": "build:client"
133 }
134 ]
135 },
136 "test:perf": {
137 "cache": false,
138 "dependsOn": [
139 "build:react",
140 "build:solid",
141 "build:vue"
142 ]
143 },
144 "test:flame:react": {
145 "cache": false,
146 "dependsOn": [
147 "build:react"
148 ]
149 },
150 "test:flame:solid": {
151 "cache": false,
152 "dependsOn": [
153 "build:solid"
154 ]
155 },
156 "test:flame:vue": {
157 "cache": false,
158 "dependsOn": [
159 "build:vue"
160 ]
161 },
162 "test:perf:react": {
163 "cache": false,
164 "dependsOn": [
165 "build:react"
166 ]
167 },
168 "test:perf:solid": {
169 "cache": false,
170 "dependsOn": [
171 "build:solid"
172 ]
173 },
174 "test:perf:vue": {
175 "cache": false,
176 "dependsOn": [
177 "build:vue"
178 ]
179 },
180 "test:types": {
181 "inputs": [
182 "default",
183 "^production",
184 "{workspaceRoot}/eslint.config.js",
185 "{workspaceRoot}/benchmarks/cpu-simulation.ts",
186 "dependentTaskOutputs"
187 ],
188 "dependsOn": [
189 "^build",
190 {
191 "projects": [
192 "@benchmarks/client-nav-async-pipeline-react",
193 "@benchmarks/client-nav-async-pipeline-solid",
194 "@benchmarks/client-nav-async-pipeline-vue",
195 "@benchmarks/client-nav-control-flow-react",
196 "@benchmarks/client-nav-control-flow-solid",
197 "@benchmarks/client-nav-control-flow-vue",
198 "@benchmarks/client-nav-head-react",
199 "@benchmarks/client-nav-head-solid",
200 "@benchmarks/client-nav-head-vue",
201 "@benchmarks/client-nav-history-react",
202 "@benchmarks/client-nav-history-solid",
203 "@benchmarks/client-nav-history-vue",
204 "@benchmarks/client-nav-links-react",
205 "@benchmarks/client-nav-links-solid",
206 "@benchmarks/client-nav-links-vue",
207 "@benchmarks/client-nav-loaders-react",
208 "@benchmarks/client-nav-loaders-solid",
209 "@benchmarks/client-nav-loaders-vue",
210 "@benchmarks/client-nav-mount-react",
211 "@benchmarks/client-nav-mount-solid",
212 "@benchmarks/client-nav-mount-vue",
213 "@benchmarks/client-nav-nested-params-react",
214 "@benchmarks/client-nav-nested-params-solid",
215 "@benchmarks/client-nav-nested-params-vue",
216 "@benchmarks/client-nav-preload-react",
217 "@benchmarks/client-nav-preload-solid",
218 "@benchmarks/client-nav-preload-vue",
219 "@benchmarks/client-nav-rewrites-react",
220 "@benchmarks/client-nav-route-tree-scale-react",
221 "@benchmarks/client-nav-rewrites-solid",
222 "@benchmarks/client-nav-route-tree-scale-solid",
223 "@benchmarks/client-nav-rewrites-vue",
224 "@benchmarks/client-nav-route-tree-scale-vue",
225 "@benchmarks/client-nav-search-params-react",
226 "@benchmarks/client-nav-search-params-solid",
227 "@benchmarks/client-nav-search-params-vue"
228 ],
229 "target": "test:types:client"
230 }
231 ]
232 }
233 }
234 }
235}