- Add complete Cloudflare Worker implementation with waitlist API endpoints - Integrate Cloudflare D1 SQLite database for production waitlist storage - Add wrangler configuration for Worker deployment and D1 binding - Rewrite README with comprehensive deployment and architecture documentation - Update environment configuration and build setup - Add waitlist utility functions and API client - Update project dependencies and Vite configuration - Deploy live to https://react-example.white-glade-ab2c.workers.dev
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "react-example",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --port=3000 --host=0.0.0.0",
|
|
"build": "vite build",
|
|
"preview": "npm run build && wrangler dev",
|
|
"clean": "rm -rf dist server.js",
|
|
"lint": "tsc --noEmit",
|
|
"deploy": "npm run build && wrangler deploy"
|
|
},
|
|
"dependencies": {
|
|
"@google/genai": "^2.4.0",
|
|
"@tailwindcss/vite": "^4.1.14",
|
|
"@types/canvas-confetti": "^1.9.0",
|
|
"@vitejs/plugin-react": "^5.0.4",
|
|
"canvas-confetti": "^1.9.4",
|
|
"dotenv": "^17.2.3",
|
|
"express": "^4.21.2",
|
|
"firebase": "^12.17.1",
|
|
"lucide-react": "^0.546.0",
|
|
"motion": "^12.23.24",
|
|
"react": "^19.0.1",
|
|
"react-dom": "^19.0.1",
|
|
"vite": "^6.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/vite-plugin": "^1.54.2",
|
|
"@types/express": "^4.17.21",
|
|
"@types/node": "^22.14.0",
|
|
"autoprefixer": "^10.4.21",
|
|
"esbuild": "^0.25.0",
|
|
"tailwindcss": "^4.1.14",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "~5.8.2",
|
|
"vite": "^6.2.3",
|
|
"wrangler": "^4.127.1"
|
|
}
|
|
}
|