Files
tts_bot/package.json
Claude Owner acdaa4734f chore: harden logger TZ, ffmpeg lifecycle and fix package metadata
- Logger.Timestamp now formats via Intl with timeZone Asia/Seoul, so
  the timestamp is correct regardless of the container/host TZ. The
  previous setHours(+9) hack assumed the system clock was UTC.
- Transcode.mp3BufferToPcmStream now attaches error/stderr handlers
  to the ffmpeg child process and its streams, swallows EPIPE on
  early downstream close, and force-kills on spawn error so failed
  conversions can't leak processes. Log level bumped from 'quiet'
  to 'error' so real ffmpeg errors surface.
- package.json homepage/bugs/repository pointed at github.com/tkrmagid/bot.ts
  which doesn't reflect this repo. Repoint to the actual Gitea origin.
2026-05-26 14:41:29 +09:00

46 lines
1.2 KiB
JSON

{
"name": "tts_bot",
"version": "0.0.1",
"description": "discord bot with typescript",
"homepage": "https://git.tkrmagid.kr/tkrmagid/tts_bot",
"bugs": {
"url": "https://git.tkrmagid.kr/tkrmagid/tts_bot/issues"
},
"repository": {
"type": "git",
"url": "git+https://git.tkrmagid.kr/tkrmagid/tts_bot.git"
},
"license": "ISC",
"author": "tkrmagid",
"type": "commonjs",
"main": "dist/index.js",
"scripts": {
"build": "ts-cleaner && tsc",
"start": "node .",
"dev": "ts-node src/index.ts",
"prod": "ts-node src/utils/Prod-commands.ts",
"test": "ts-node src/test.ts"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/fluent-ffmpeg": "^2.1.28",
"@types/node": "^24.9.1",
"@types/ws": "^8.18.1",
"ffmpeg-static": "^5.2.0",
"ts-cleaner": "^1.0.5",
"ts-node": "^10.9.2"
},
"dependencies": {
"@discordjs/opus": "^0.10.0",
"@discordjs/voice": "^0.19.0",
"@snazzah/davey": "^0.1.7",
"axios": "^1.13.0",
"better-sqlite3": "^12.4.1",
"colors": "^1.4.0",
"discord.js": "^14.24.0",
"dotenv": "^17.2.3",
"fluent-ffmpeg": "^2.1.3",
"ws": "^8.18.3"
}
}