The front-end is plain JavaScript served as is: no build step to run before the bot starts, and no second toolchain to keep alive. A simple/advanced switch hides the technical panels without ever standing in for a permission. `npm run setup` starts the wizard alone, because the bot refuses to boot without a token and the `.env` has to be writable from somewhere. When the webhook and the dashboard share a port, a single HTTP server is started. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
"name": "fws-discordbot",
|
|
"version": "0.1.0",
|
|
"description": "FWS-Bot — Discord bot for the FWS open source organization",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "src/index.js",
|
|
"engines": {
|
|
"node": ">=22.13.0"
|
|
},
|
|
"scripts": {
|
|
"start": "node src/index.js",
|
|
"dev": "node --watch src/index.js",
|
|
"setup": "node scripts/setup-server.js",
|
|
"deploy:commands": "node scripts/deploy-commands.js",
|
|
"db:init": "node scripts/init-database.js",
|
|
"changelog": "node scripts/generate-changelog.js",
|
|
"changelog:check": "node scripts/generate-changelog.js --check",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"test": "node --test tests/"
|
|
},
|
|
"dependencies": {
|
|
"discord.js": "^14.21.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.30.0",
|
|
"eslint": "^9.30.0",
|
|
"eslint-config-prettier": "^10.1.5",
|
|
"globals": "^16.3.0",
|
|
"prettier": "^3.6.2"
|
|
}
|
|
}
|