- Add serve as production server for static files - Add start script for production deployment - Create railway.toml with deployment settings - Create .env.example for required environment variables - Fix index.html to use Vite bundling instead of ESM imports https://claude.ai/code/session_01DBAyjuKW8Qtzixc64qn9KP
37 lines
926 B
JSON
37 lines
926 B
JSON
{
|
|
"name": "autoform-ai",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"start": "serve dist -l ${PORT:-3000}",
|
|
"preview": "vite preview",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:coverage": "vitest --coverage",
|
|
"test:run": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"react-dom": "^19.2.4",
|
|
"react": "^19.2.4",
|
|
"lucide-react": "^0.563.0",
|
|
"@google/genai": "^1.38.0",
|
|
"jspdf": "2.5.1",
|
|
"pdf-lib": "^1.17.1",
|
|
"serve": "^14.2.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.14.0",
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"typescript": "~5.8.2",
|
|
"vite": "^6.2.0",
|
|
"vitest": "^3.0.0",
|
|
"@vitest/coverage-v8": "^3.0.0",
|
|
"@testing-library/react": "^16.0.0",
|
|
"@testing-library/jest-dom": "^6.6.0",
|
|
"@testing-library/user-event": "^14.5.0",
|
|
"jsdom": "^26.0.0"
|
|
}
|
|
}
|