chore(dev): add React profiling and focused A/B workflows

This commit is contained in:
Tunglies
2026-11-03 19:24:31 +08:00
parent 2b7b7cc0e7
commit d2c6eafc9e
18 changed files with 965 additions and 3 deletions
+5 -2
View File
@@ -40,7 +40,9 @@
"perf:build": "node scripts/perf/build.mjs",
"perf:run": "node scripts/perf/run.mjs",
"perf:compare": "node scripts/perf/compare.mjs",
"perf:test": "node --test scripts/perf/report.test.mjs"
"perf:test": "node --test scripts/perf/report.test.mjs",
"dev:profile": "cross-env CVR_REACT_DIAGNOSTICS=profiler node scripts/dev.mjs dev",
"react:ab": "node scripts/react/ab.mjs"
},
"dependencies": {
"@dnd-kit/collision": "^0.5.0",
@@ -134,7 +136,8 @@
"vite-plugin-svgr": "^5.2.0",
"vitest": "^5.0.1",
"webdriverio": "10.1.0",
"ws": "8.22.1"
"ws": "8.22.1",
"playwright": "1.64.1"
},
"lint-staged": {
"*.{ts,tsx,js,mjs}": [