Files
aiworker-frontend/package.json
Hector Ros 3fc9b01940
All checks were successful
Build and Push Frontend / build (push) Successful in 22s
Fix frontend build: compile React bundle properly
- Build TypeScript/React to JavaScript bundle
- Serve compiled main.js and main.css
- Update HTML to load compiled assets
- Add build step to Dockerfile

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-01-20 01:34:38 +01:00

30 lines
693 B
JSON

{
"name": "frontend",
"module": "index.ts",
"type": "module",
"private": true,
"scripts": {
"dev": "bun --hot server.ts",
"start": "bun server.ts",
"build": "bun build src/main.tsx --outdir ./public/dist --target browser --minify"
},
"devDependencies": {
"@types/bun": "latest",
"@types/react": "^19.2.8",
"@types/react-dom": "^19.2.3",
"autoprefixer": "^10.4.23",
"postcss": "^8.5.6"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"@tailwindcss/postcss": "^4.1.18",
"axios": "^1.13.2",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"react-router-dom": "^7.12.0",
"tailwindcss": "^4.1.18"
}
}