- Add ws WebSocket server (port 3001) with JWT auth and user-socket mapping - Add WebSocket client with exponential backoff reconnection and heartbeat - Add useRealtimeAlerts hook with toast notifications and unread badge - Add alert.publisher service (WS → push → email fallback) - Integrate publisher into DarkWatch, VoicePrint, HomeTitle, SpamShield, RemoveBrokers - Update Navbar with connection status indicator and unread count - Add comprehensive tests (14 passing) for server, client, and publisher
61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"name": "web",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "vite build",
|
|
"start": "vite start",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"lint": "tsc --noEmit",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:push": "drizzle-kit push",
|
|
"db:migrate": "tsx src/server/db/migrate.ts",
|
|
"db:seed": "tsx src/server/db/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@libsql/client": "^0.15.0",
|
|
"@solidjs/meta": "^0.29.4",
|
|
"@solidjs/router": "^0.15.0",
|
|
"@solidjs/start": "2.0.0-alpha.2",
|
|
"@solidjs/vite-plugin-nitro-2": "^0.1.0",
|
|
"@tailwindcss/vite": "^4.0.0",
|
|
"@trpc/client": "^10.45.2",
|
|
"@trpc/server": "^10.45.2",
|
|
"@types/three": "^0.184.1",
|
|
"@typeschema/valibot": "^0.13.4",
|
|
"bcryptjs": "^3.0.3",
|
|
"bullmq": "^5.77.3",
|
|
"clerk-solidjs": "^2.0.10",
|
|
"drizzle-orm": "^0.45.2",
|
|
"firebase-admin": "^13.10.0",
|
|
"ioredis": "^5.10.1",
|
|
"jose": "^5",
|
|
"node-cron": "^4.2.1",
|
|
"pg": "^8.21.0",
|
|
"puppeteer": "^25.0.4",
|
|
"resend": "^6.12.4",
|
|
"solid-js": "^1.9.5",
|
|
"stripe": "^22.1.1",
|
|
"tailwindcss": "^4.0.0",
|
|
"three": "^0.184.0",
|
|
"twilio": "^6.0.2",
|
|
"valibot": "^0.29.0",
|
|
"vite": "^7.0.0",
|
|
"ws": "^8.21.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node-cron": "^3.0.11",
|
|
"@types/pg": "^8.20.0",
|
|
"@types/ws": "^8.18.1",
|
|
"drizzle-kit": "^0.31.10",
|
|
"jsdom": "^29.1.1",
|
|
"tsx": "^4.22.3",
|
|
"vite-plugin-solid": "^2.11.12",
|
|
"vitest": "^4.1.5"
|
|
}
|
|
}
|