switched to react router frontend

This commit is contained in:
Fishandchips321 2025-12-21 15:44:17 +00:00
parent 37ee554278
commit 1606d1faf0
27 changed files with 2310 additions and 7198 deletions

View file

@ -1,26 +1,30 @@
{
"name": "frontend",
"private": true,
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
"build": "react-router build",
"dev": "react-router dev",
"start": "react-router-serve ./build/server/index.js",
"typecheck": "react-router typegen && tsc"
},
"dependencies": {
"@astrojs/react": "^4.4.2",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"astro": "^5.16.6",
"@react-router/node": "7.10.1",
"@react-router/serve": "7.10.1",
"isbot": "^5.1.31",
"react": "^19.2.3",
"react-dom": "^19.2.3"
"react-dom": "^19.2.3",
"react-router": "7.10.1"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"eslint": "^9.39.2",
"eslint-plugin-react": "^7.37.5",
"globals": "^16.5.0",
"typescript-eslint": "^8.50.0"
"@react-router/dev": "7.10.1",
"@tailwindcss/vite": "^4.1.13",
"@types/node": "^22",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"tailwindcss": "^4.1.13",
"typescript": "^5.9.2",
"vite": "^7.1.7",
"vite-tsconfig-paths": "^5.1.4"
}
}
}