-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.38 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 3.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "csbot",
"version": "0.15.0",
"private": true,
"description": "The One beneath the Supreme Overlord's rule. A bot to help manage the BYU CS Discord, successor to Ze Kaiser (https://github.com/arkenstorm/ze-kaiser)",
"keywords": [
"discord",
"bot",
"BYU"
],
"homepage": "https://github.com/BYU-CS-Discord/CSBot#readme",
"bugs": {
"url": "https://github.com/BYU-CS-Discord/CSBot/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/BYU-CS-Discord/CSBot.git"
},
"license": "0BSD",
"author": "BYU CS",
"type": "module",
"main": "./dist/main.js",
"scripts": {
"build": "npm run db:generate && rm -rf dist && ./node_modules/.bin/tsc -p tsconfig.build.json",
"commands:deploy": "node --env-file=.env . --deploy # TODO: Replace these with automatic command deployment",
"commands:revoke": "node --env-file=.env . --revoke",
"db:generate": "./node_modules/.bin/prisma generate --no-hints --schema ./prisma/schema.prisma",
"db:init": "npm run db:migrate:initial || ./node_modules/.bin/prisma db push && npm run db:migrate:initial",
"db:migrate:initial": "./node_modules/.bin/prisma migrate resolve --applied 20240905171155_initial_state",
"db:introspect": "./node_modules/.bin/prisma db pull",
"db:migrate": "./node_modules/.bin/prisma migrate deploy",
"db:migrations:generate": "./node_modules/.bin/prisma migrate dev --create-only",
"dev": "NODE_ENV=development node --watch --env-file=.env ./dist/main.js",
"docker": "npm run docker:image && npm run docker:cleanup && npm run docker:container",
"docker:cleanup": "docker system prune --force --filter='label=cs-bot'",
"docker:container": "docker run --tty --interactive --rm --mount type=bind,source=$PWD,destination=/cs-bot cs-bot-image",
"docker:image": "docker build --tag cs-bot-image --label cs-bot .",
"export-version": "./node_modules/.bin/genversion ./src/constants/version.ts -es",
"lint": "./node_modules/.bin/eslint --flag unstable_native_nodejs_ts_config",
"lint:fix": "npm run lint -- --fix",
"release": "node ./scripts/release.ts",
"setup": "npm ci && npm run export-version && npm run db:migrate && npm run build --omit=dev && npm run commands:deploy",
"start": "node --env-file=.env ./dist/main.js",
"test": "./node_modules/.bin/vitest"
},
"dependencies": {
"@discordjs/voice": "0.19.2",
"@prisma/client": "6.13.0",
"dectalk-tts": "1.0.1",
"discord.js": "14.26.4",
"ffmpeg-static": "5.3.0",
"source-map-support": "0.5.21",
"superstruct": "2.0.2",
"tmp": "0.2.5"
},
"devDependencies": {
"@stylistic/eslint-plugin": "5.10.0",
"@types/node": "24.10.9",
"@types/semver": "7.7.1",
"@types/source-map-support": "0.5.10",
"@types/tmp": "0.2.6",
"@vitest/coverage-istanbul": "4.1.6",
"eslint": "9.39.2",
"eslint-config-prettier": "10.1.8",
"eslint-import-resolver-typescript": "4.4.4",
"eslint-plugin-file-progress": "3.0.2",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-promise": "7.3.0",
"eslint-plugin-unicorn": "64.0.0",
"genversion": "3.2.0",
"keep-a-changelog": "3.0.2",
"prettier": "3.8.3",
"prettier-plugin-prisma": "5.0.0",
"prisma": "6.9.0",
"semver": "7.7.4",
"typescript": "6.0.3",
"typescript-eslint": "8.59.3",
"vitest": "4.1.6",
"vitest-mock-extended": "4.0.0"
},
"engines": {
"node": ">=22.18.0"
},
"devEngines": {
"runtime": {
"name": "node",
"version": ">=22.18.0"
}
}
}