Add web push notification support: push_subscriptions table (migration 0007), VAPID-based push service, subscribe/unsubscribe API routes, SW push+notificationclick handlers, and subscribe UI on account page. Triggers: new version uploaded (all project members) and version approved/rejected (uploader). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
23 lines
573 B
JSON
23 lines
573 B
JSON
{
|
|
"name": "@music-hub/api",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "bun run --hot src/index.ts",
|
|
"build": "bun build src/index.ts --outdir dist --target bun",
|
|
"seed": "bun run src/scripts/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3",
|
|
"@aws-sdk/s3-request-presigner": "^3",
|
|
"@hono/zod-validator": "^0.5",
|
|
"@music-hub/db": "workspace:*",
|
|
"@music-hub/shared": "workspace:*",
|
|
"drizzle-orm": "^0.44",
|
|
"fflate": "^0.8.2",
|
|
"hono": "^4",
|
|
"resend": "^6.10.0",
|
|
"web-push": "^3.6.7"
|
|
}
|
|
}
|