- Add docker-compose.yml with volume mounts for config/sfx - Simplify npm scripts (up/down/build/restart/logs) - Update README.md and CLAUDE.md with new commands - Remove unused lib/ directory (migrated to src/) - Update package.json scripts to cleaner naming Benefits: - Update configs and sound effects without rebuilding image - Simplified Docker workflow management - Cleaner project structure 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
34 lines
930 B
JSON
34 lines
930 B
JSON
{
|
|
"name": "ghbot",
|
|
"version": "2.0.0",
|
|
"description": "",
|
|
"main": "src/index.js",
|
|
"dependencies": {
|
|
"axios": "^1.11.0",
|
|
"discord.js": "^14.21.0",
|
|
"@discordjs/voice": "^0.18.0",
|
|
"@discordjs/opus": "^0.9.0",
|
|
"opusscript": "^0.1.1",
|
|
"ffmpeg-static": "^5.2.0",
|
|
"node-schedule": "^2.1.1",
|
|
"sodium-native": "^4.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"nodemon": "^3.1.9"
|
|
},
|
|
"scripts": {
|
|
"start": "node src/index.js",
|
|
"dev": "nodemon src/index.js",
|
|
"up": "docker compose up -d",
|
|
"down": "docker compose down",
|
|
"build": "docker compose build",
|
|
"restart": "docker compose restart",
|
|
"logs": "docker compose logs -f",
|
|
"image:build": "docker build -t ghbot:${VERSION:-latest} .",
|
|
"image:run": "docker run -d --name ghbot --restart always ghbot:${VERSION:-latest}"
|
|
},
|
|
"author": "https://github.com/greenham",
|
|
"license": "MIT"
|
|
}
|