Releases are expected to ship notes built from the Conventional Commits, and a hand-written file drifts from the history within a few merges. The generator reads the log directly, so it adds no dependency, and `npm run changelog:check` gives CI a way to fail when the file was not regenerated. A commit that only rewrites the changelog is left out of it, otherwise the check could never be green once that file is committed.
35 lines
964 B
JSON
35 lines
964 B
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",
|
|
"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"
|
|
}
|
|
}
|