- Gateway: delete voice-recording/, voice-pcm-ws/, voice/video/media handlers, vendor/discord-voice-fork/, voice DB repos, 2 voice migrations - Gateway: cut voice wiring from bootstrap/shutdown/commandHandler/handler-registry, eventBroadcaster/eventTypes, redis-channels, moderation-types, message-capture, config keys, and deps (@discordjs/voice, opus, libsodium, prism-media, davey) - Backend: delete voice/, recordings/, media/ modules + @discordjs/voice dep - Backend: cut voice/media/recordings oRPC routers, WS gateway-PCM auth + voice handlers, Redis bridge voice aggregation, redis-channels voice/media constants, config keys, moderation-types voice items, e2e voice/recordings suites - Keep voice DB tables (destructive migration avoided); chatbot voiceRecordings tool + dashboard count remain as read-only historical data access
47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"name": "discord-moderation-backend",
|
|
"version": "1.0.0",
|
|
"description": "Backend service for Discord moderation monitoring",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"packageManager": "pnpm@11.20.0",
|
|
"engines": {
|
|
"node": ">=22.12.0",
|
|
"pnpm": ">=9.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsx watch src/index.ts",
|
|
"format": "biome format --write .",
|
|
"lint": "biome check --diagnostic-level=error .",
|
|
"start": "node dist/index.js",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@orpc/server": "1.15.2",
|
|
"axios": "^1.20.0",
|
|
"dotenv": "^18.0.1",
|
|
"drizzle-orm": "^0.45.2",
|
|
"express": "^5.2.1",
|
|
"helmet": "^8.1.0",
|
|
"ioredis": "^6.0.0",
|
|
"pg": "^8.23.0",
|
|
"pino": "^10.3.1",
|
|
"prom-client": "^15.1.3",
|
|
"ws": "^8.21.3",
|
|
"zod": "^4.6.5"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.5.14",
|
|
"@types/express": "^5.0.6",
|
|
"@types/node": "^26.6.2",
|
|
"@types/pg": "^8.23.1",
|
|
"@types/ws": "^8.18.1",
|
|
"tsx": "^4.23.13",
|
|
"typescript": "^7.0.2",
|
|
"vitest": "^5.0.1"
|
|
}
|
|
}
|