- Create Next.js app with TypeScript, Tailwind, and Postcss - Extract API logic, types, and utilities to lib/ - Build React components for Race Results, Driver Standings, Points Key, and D3 Chart - Use environment variables for API credentials (NEXT_PUBLIC_*) - Static export (output: 'export') for Cloudflare Pages deployment - D3 chart rendered client-side with dynamic import - Update deploy workflow to build and deploy ./out directory - Remove original public/index.html
28 lines
536 B
JSON
28 lines
536 B
JSON
{
|
|
"name": "grid-gladiators-results",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"next": "^15",
|
|
"react": "^19",
|
|
"react-dom": "^19",
|
|
"d3": "^7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/d3": "^7",
|
|
"@types/node": "^20",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"autoprefixer": "^10",
|
|
"postcss": "^8",
|
|
"tailwindcss": "^3",
|
|
"typescript": "^5"
|
|
}
|
|
}
|