Files
web2app/package.json
shumengya b69dfc4813 feat: migrate to Cloudflare Workers with icon and version upload
Replace Express/SQLite and web/ with frontend/, worker/, and wrangler deploy. Add optional app icon upload, date-based app_version, and build-app workflow input.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-29 13:30:16 +08:00

25 lines
648 B
JSON

{
"name": "web2app",
"private": true,
"version": "0.1.0",
"type": "module",
"workspaces": [
"frontend",
"worker",
"template"
],
"scripts": {
"dev": "concurrently -n web,worker -c green,blue \"npm run dev -w frontend\" \"wrangler dev\"",
"build": "npm run build -w frontend",
"deploy": "npm run build && wrangler deploy",
"db:migrate:local": "wrangler d1 migrations apply web2app --local",
"db:migrate:remote": "wrangler d1 migrations apply web2app --remote"
},
"devDependencies": {
"adm-zip": "^0.5.17",
"concurrently": "^9.1.2",
"typescript": "~5.6.2",
"wrangler": "^3.99.0"
}
}