- Implemented Supabase authentication context in `supabase.tsx` for managing user login and logout. - Created a new SVG logo file for branding. - Set up main application entry point in `main.tsx` with router integration. - Added web vitals reporting in `reportWebVitals.ts`. - Generated route tree in `routeTree.gen.ts` for application routing. - Established root route in `__root.tsx` with TanStack Router Devtools integration. - Created authenticated route in `_authenticated.tsx` to protect routes. - Developed planes route under authenticated section in `planes.tsx`. - Implemented login route with form handling in `login.tsx`. - Added index route with welcome message in `index.tsx`. - Included basic styles in `styles.css`. - Configured TypeScript settings in `tsconfig.json`. - Set up Vite configuration with React and TanStack Router plugins in `vite.config.ts`.
34 lines
895 B
JSON
34 lines
895 B
JSON
{
|
|
"name": "tanstack-router",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --port 3000",
|
|
"start": "vite --port 3000",
|
|
"build": "vite build && tsc",
|
|
"serve": "vite preview",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@supabase/supabase-js": "^2.55.0",
|
|
"@tanstack/react-devtools": "^0.2.2",
|
|
"@tanstack/react-router": "^1.130.2",
|
|
"@tanstack/react-router-devtools": "^1.131.5",
|
|
"@tanstack/router-plugin": "^1.121.2",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"zod": "^4.0.17"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/dom": "^10.4.0",
|
|
"@testing-library/react": "^16.2.0",
|
|
"@types/react": "^19.0.8",
|
|
"@types/react-dom": "^19.0.3",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"jsdom": "^26.0.0",
|
|
"typescript": "^5.7.2",
|
|
"vite": "^6.3.5",
|
|
"vitest": "^3.0.5",
|
|
"web-vitals": "^4.2.4"
|
|
}
|
|
} |