Files
discord-bot/package.json
T

99 lines
3.2 KiB
JSON

{
"name": "discord-bot",
"version": "1.0.0",
"private": true,
"license": "MIT",
"type": "commonjs",
"main": "dist/main.js",
"scripts": {
"build": "nest build",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"start": "npm run start:dev",
"nest": "nest",
"start:dev": "nest start --watch --",
"start:debug": "nest start --debug 9240 --watch --",
"lint": "eslint \"src/**/*.ts\" --max-warnings 0",
"lint:fix": "npm run lint -- --fix",
"check": "tsc --noEmit",
"check:code": "npm run format && npm run lint && npm run check",
"check:all": "npm run check:code && npm run test:cov",
"test": "vitest",
"test:watch": "vitest --watch",
"test:cov": "vitest --coverage",
"zulip:types": "openapi-typescript https://raw.githubusercontent.com/zulip/zulip/12.3/zerver/openapi/zulip.yaml -o src/generated/zulip.ts",
"migrations:generate": "sql-tools -u ${DB_URL:-postgres://postgres:postgres@localhost:5432/discord-bot} -f src/schema/migrations migrations generate -s dist/schema",
"migrations:revert": "sql-tools -u ${DB_URL:-postgres://postgres:postgres@localhost:5432/discord-bot} -f src/schema/migrations migrations revert -f dist/schema/migrations"
},
"dependencies": {
"@discordx/importer": "^1.2.3",
"@immich/sql-tools": "^0.6.0",
"@mattermost/client": "^11.9.0",
"@nestjs/common": "^11.0.0",
"@nestjs/core": "^11.0.0",
"@nestjs/platform-express": "^11.0.0",
"@nestjs/schedule": "^6.0.0",
"@nestjs/swagger": "^11.0.0",
"@polar-sh/sdk": "^0.49.0",
"@types/lodash": "^4.14.200",
"@types/luxon": "^3.3.3",
"class-transformer": "^0.5.1",
"class-validator": "^0.15.0",
"cors": "^2.8.5",
"cron": "^4.0.0",
"discord.js": "^14.17.3",
"discordx": "^11.7.6",
"dotenv": "^18.0.0",
"express": "^5.0.0",
"kysely": "^0.29.0",
"lodash": "^4.17.21",
"luxon": "^3.4.3",
"octokit": "^5.0.5",
"openapi-fetch": "^0.17.0",
"pg": "^8.12.0",
"pg-cursor": "^2.14.6",
"rss-parser": "^3.13.0",
"semver": "^7.6.3",
"undici": "^8.0.0",
"vite-tsconfig-paths": "^6.0.0",
"ws": "^8.21.3"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@mattermost/types": "^11.9.0",
"@nestjs/cli": "^11.0.0",
"@nestjs/schematics": "^11.0.0",
"@nestjs/testing": "^11.0.0",
"@octokit/graphql": "9.0.5",
"@octokit/webhooks": "^14.2.0",
"@swc/core": "^1.7.0",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/node": "^24.13.6",
"@types/pg": "^8.11.6",
"@types/pg-cursor": "^2.7.2",
"@types/semver": "^7.5.8",
"@typescript-eslint/parser": "^8.0.0",
"@typescript/native": "npm:typescript@^7.0.2",
"@vitest/coverage-v8": "^5.0.0",
"eslint": "^10.0.0",
"openapi-typescript": "^7.13.0",
"prettier": "^3.0.3",
"prettier-plugin-organize-imports": "^4.0.0",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"typescript-eslint": "^8.56.0",
"unplugin-swc": "^2.0.0",
"vitest": "^5.0.0"
},
"overrides": {
"typescript": "npm:@typescript/typescript6@^6.0.2"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"volta": {
"node": "24.21.0"
}
}