refactor(benchmark): use react-router instead of just vite

This commit is contained in:
2025-07-14 21:39:50 +02:00
parent f52f7312a4
commit 9d175e31e8
13 changed files with 781 additions and 170 deletions

View File

@@ -3,17 +3,17 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"dev": "react-router dev",
"build": "react-router build",
"check": "react-router typegen && tsc",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"react": "^19.1.0",
"react-dom": "^19.1.0",
"vite-plugin-top-level-await": "^1.5.0",
"vite-plugin-wasm": "^3.5.0",
"@eslint/js": "^9.30.1",
"@pow-captcha/pow-captcha": "workspace:*",
"@react-router/dev": "^7.6.3",
"@react-router/node": "^7.6.3",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@vitejs/plugin-react": "^4.6.0",
@@ -21,9 +21,14 @@
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.3.0",
"isbot": "^5",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-router": "^7.6.3",
"typescript": "~5.8.3",
"typescript-eslint": "^8.35.1",
"vite": "^7.0.4",
"@pow-captcha/pow-captcha": "workspace:*"
"vite-plugin-top-level-await": "^1.5.0",
"vite-plugin-wasm": "^3.5.0"
}
}