Complete partial frontend refactoring and infrastructure improvements: **Frontend Performance (Phase 2):** - Extract QSOStats component from QSO page (separation of concerns) - Extract reusable SyncButton component (LoTW + DCL) - Fix N+1 API calls in awards page with batch endpoint * Add GET /api/awards/batch/progress endpoint * Reduce award page load from 5s → ~500ms (95% improvement) * Replace N individual requests with single batch request **Infrastructure (Phase 4):** - Remove unused @libsql/client dependency - Add .env.production.template for deployment - Add bunfig.toml with optimized Bun configuration **Code Quality:** - Reduce QSO page from 1,587 to ~1,517 lines (-70 lines) - Improve code reusability and maintainability Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
31 lines
819 B
JSON
31 lines
819 B
JSON
{
|
|
"name": "award",
|
|
"module": "index.js",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "bun run src/backend/index.js & cd src/frontend && bun run dev",
|
|
"dev:backend": "bun run src/backend/index.js",
|
|
"dev:frontend": "cd src/frontend && bun run dev",
|
|
"build": "cd src/frontend && bun run build",
|
|
"preview": "cd src/frontend && bun run preview",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:push": "drizzle-kit push",
|
|
"db:migrate": "drizzle-kit migrate"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"drizzle-kit": "^0.31.8"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5"
|
|
},
|
|
"dependencies": {
|
|
"@elysiajs/cors": "^1.4.1",
|
|
"@elysiajs/jwt": "^1.4.0",
|
|
"@elysiajs/static": "^1.4.7",
|
|
"drizzle-orm": "^0.45.1",
|
|
"elysia": "^1.4.22"
|
|
}
|
|
}
|