Replaces 'wouter' with 'react-router-dom' to standardize the routing library and resolve dependency conflicts. Key changes: - All routing logic, including hooks (useLocation) and components (Link, Routes), now uses 'react-router-dom'. - The component tree has been simplified by removing the MainContainer component and moving its layout directly into App.tsx. - The <BrowserRouter> provider is now correctly placed at the application's entry point in main.tsx.
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "frontalobe",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@base-ui-components/react": "^1.0.0-beta.3",
|
|
"@radix-ui/react-slot": "^1.2.3",
|
|
"@tabler/icons-react": "^3.35.0",
|
|
"@tailwindcss/vite": "^4.1.13",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"lucide-react": "^0.544.0",
|
|
"react": "^19.1.1",
|
|
"react-dom": "^19.1.1",
|
|
"react-router-dom": "^7.9.1",
|
|
"tailwind-merge": "^3.3.1",
|
|
"tailwindcss": "^4.1.13",
|
|
"zustand": "^5.0.8"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.33.0",
|
|
"@types/node": "^24.3.1",
|
|
"@types/react": "^19.1.10",
|
|
"@types/react-dom": "^19.1.7",
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"@vitejs/plugin-react-swc": "^4.1.0",
|
|
"eslint": "^9.33.0",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
"globals": "^16.3.0",
|
|
"tw-animate-css": "^1.3.8",
|
|
"typescript": "~5.8.3",
|
|
"typescript-eslint": "^8.39.1",
|
|
"vite": "^7.1.2"
|
|
},
|
|
"packageManager": "yarn@4.9.4"
|
|
}
|