-
-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 2.05 KB
/
package.json
File metadata and controls
52 lines (52 loc) · 2.05 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
{
"name": "example-benchmark-react",
"version": "0.1.10",
"private": true,
"description": "React rendering benchmark comparing @data-client/react against other data libraries",
"scripts": {
"build": "BROWSERSLIST_ENV=2026 webpack --mode=production",
"build:no-compiler": "BROWSERSLIST_ENV=2026 REACT_COMPILER=false webpack --mode=production",
"preview": "serve dist -l ${BENCH_PORT:-5173} --no-request-logging",
"bench": "npx tsx bench/runner.ts",
"bench:no-compiler": "BENCH_LABEL=no-compiler npx tsx bench/runner.ts",
"bench:small": "npx tsx bench/runner.ts --size small",
"bench:large": "npx tsx bench/runner.ts --size large",
"bench:dc": "npx tsx bench/runner.ts --lib data-client",
"bench:trace": "BENCH_V8_TRACE=true npx tsx bench/runner.ts --lib data-client --size small",
"bench:deopt": "BENCH_V8_DEOPT=true npx tsx bench/runner.ts --lib data-client --size small",
"bench:run": "yarn build && (yarn preview &) && sleep 5 && yarn bench",
"bench:run:no-compiler": "yarn build:no-compiler && (yarn preview &) && sleep 5 && yarn bench:no-compiler",
"validate": "npx tsx bench/validate.ts",
"validate:run": "yarn build && (yarn preview &) && sleep 5 && yarn validate"
},
"engines": {
"node": ">=22"
},
"dependencies": {
"@data-client/core": "workspace:*",
"@data-client/endpoint": "workspace:*",
"@data-client/react": "workspace:*",
"@data-client/rest": "workspace:*",
"@tanstack/react-query": "5.96.2",
"react": "19.2.3",
"react-dom": "19.2.3",
"swr": "2.4.1"
},
"devDependencies": {
"@anansi/babel-preset": "6.2.25",
"@anansi/browserslist-config": "^1.4.3",
"@anansi/webpack-config": "21.1.17",
"@babel/core": "^7.22.15",
"@playwright/test": "1.59.1",
"@types/node": "24.12.2",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"playwright": "1.59.1",
"serve": "14.2.6",
"tsx": "4.21.0",
"typescript": "6.0.3",
"webpack": "5.106.2",
"webpack-cli": "6.0.1"
},
"browserslist": "extends @anansi/browserslist-config"
}