Files
GMW/services/discord-gateway/package.json
T

61 lines
1.6 KiB
JSON
Raw Normal View History

{
"name": "@bete/discord-gateway",
"version": "1.0.0",
"description": "Discord Gateway service - handles message capture, voice recording, and AI moderation",
"type": "module",
"main": "dist/index.js",
"pnpm": {
"onlyBuiltDependencies": [
"@discordjs/opus",
"esbuild",
"sharp"
]
},
"scripts": {
"dev": "tsx watch src/index.ts",
"start": "node dist/index.js",
"build": "tsc",
"typecheck": "tsc --noEmit",
"lint": "biome check --diagnostic-level=error .",
"format": "biome format --write .",
"test": "vitest run",
"test:unit": "vitest run --exclude \"tests/llmE2e.test.ts\"",
"test:e2e": "vitest run tests/llmE2e.test.ts",
"test:e2e:live": "bash scripts/run-llm-e2e.sh"
},
"dependencies": {
"@discordjs/opus": "^0.10.0",
"@discordjs/voice": "file:vendor/discord-voice-fork",
"@snazzah/davey": "^0.1.11",
"axios": "^1.20.0",
"discord.js-selfbot-v13": "^3.7.1",
"dotenv": "^18.0.0",
"drizzle-orm": "^0.45.2",
"ioredis": "^6.0.0",
"libsodium-wrappers": "^0.8.4",
2026-09-22 14:25:31 +00:00
"lru-cache": "^11.5.3",
"openai": "^7.19.0",
"opusscript": "^0.1.1",
2026-09-22 14:25:31 +00:00
"p-limit": "^7.3.3",
"p-retry": "^8.0.1",
"pg": "^8.23.0",
"pino": "^10.3.1",
"piscina": "^5.3.2",
"prism-media": "2.0.0-alpha.0",
"sharp": "^0.35.4",
2026-06-02 22:44:58 +07:00
"tiktoken": "^1.0.22",
"ws": "^8.21.3",
2026-09-17 14:24:54 +00:00
"zod": "^4.6.5"
},
"devDependencies": {
"@biomejs/biome": "latest",
2026-08-31 14:30:00 +00:00
"@types/node": "^26.4.0",
"@types/pg": "^8.23.1",
"@types/ws": "^8.18.1",
"drizzle-kit": "^0.31.10",
2026-09-02 14:26:03 +00:00
"tsx": "^4.23.13",
"typescript": "^7.0.2",
"vitest": "latest"
}
}