Files
hapi/server/package.json
T
weishu 43519621f3 feat: add web push notifications support
Implement push notification system with VAPID keys, client service worker integration, and push subscription management. Includes server-side PushService for sending notifications and PushNotifier for reactive event handling, plus client-side usePushNotifications hook and service worker support.
2026-01-02 19:19:40 +08:00

33 lines
973 B
JSON

{
"name": "hapi-server",
"private": true,
"version": "0.1.0",
"description": "Telegram Bot client for HAPI - control Claude Code sessions",
"author": "weishu",
"license": "LGPL-3.0-or-later",
"type": "module",
"scripts": {
"start": "bun run src/index.ts",
"dev": "bun --watch run src/index.ts",
"test": "bun test",
"typecheck": "tsc --noEmit",
"build": "bun build src/index.ts --outdir dist --target bun",
"generate:embedded-web-assets": "bun run scripts/generate-embedded-web-assets.ts"
},
"dependencies": {
"@socket.io/bun-engine": "^0.1.0",
"grammy": "^1.38.4",
"hono": "^4.11.2",
"jose": "^6.1.3",
"socket.io": "^4.8.3",
"web-push": "^3.6.7",
"zod": "^4.2.1"
},
"devDependencies": {
"@types/node": ">=25",
"@types/web-push": "^3.6.4",
"bun-types": "^1.3.5",
"typescript": "^5"
}
}