-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
117 lines (117 loc) · 5.84 KB
/
package.json
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "kmq",
"version": "9.7.2",
"main": "src/kmq.js",
"scripts": {
"seed": ". ./.env && ts-node --swc src/seed/seed_db",
"bootstrap": "ts-node --swc src/seed/bootstrap.ts",
"start": "./start.sh native",
"dry-run": "NODE_ENV=dry-run npm run start",
"dev-tsc": "NODE_ENV=development npm run start",
"dev": "NODE_ENV=development_ts_node npm run start",
"dev-god": "NODE_ENV=development_ts_node GOD_MODE=true npm run start",
"dev-minimal": "NODE_ENV=development_ts_node MINIMAL_RUN=true npm run start",
"ci": "NODE_ENV=ci npm run start",
"prod": "NODE_ENV=production npm run start",
"clean": "rm -rf build/ && rm -f tsconfig.tsbuildinfo",
"download-songs": "ts-node --swc src/scripts/download-new-songs.ts",
"lint": "npx eslint --cache src/ --ext .js,.ts",
"lint-i18n": "npx eslint --no-eslintrc --config .eslintrc.i18n.js --fix --ext .json --format node_modules/eslint-plugin-i18n-json/formatter.js i18n/ ",
"lint-i18n-ci": "npx eslint --no-eslintrc --config .eslintrc.i18n.js --ext .json --max-warnings=0 --format node_modules/eslint-plugin-i18n-json/formatter.js i18n/ ",
"lint-fix": "npx eslint --fix --cache src/ --ext .js,.ts",
"lint-ci": "npx eslint --cache src/ --ext .js,.ts --max-warnings=0",
"lint-all": "npm run prettier && npm run lint && npm run lint-i18n",
"docker-compose-db": "cd docker/ && docker-compose up -d db",
"docker-compose-dev": "cd docker/ && NODE_ENV=development docker-compose up --exit-code-from kmq --build kmq",
"docker-compose-dryrun": "cd docker/ && NODE_ENV=dry-run docker-compose up --exit-code-from kmq --build kmq",
"docker-build": "cd docker/ && DOCKER_BUILDKIT=1 docker build -f kmq/Dockerfile -t ghcr.io/brainicism/kmq_discord:latest ../",
"docker-run": "bash src/scripts/docker-run.sh",
"docker-run-internal": ". ./.env && docker run --restart unless-stopped -d -v ${SONG_DOWNLOAD_DIR}:${SONG_DOWNLOAD_DIR} -v ${PWD}/data:/app/data -v ${PWD}/.env:/app/.env -v ${PWD}/logs:/app/logs -v ${PWD}/sql_dumps:/app/sql_dumps --env NODE_ENV=production --env IS_STANDBY=${IS_STANDBY:=false} --network=host --name ${APP_NAME} ${IMAGE_NAME:=ghcr.io/brainicism/kmq_discord:latest}",
"docker-stop": "docker stop ${APP_NAME}",
"backup": "ts-node --swc src/scripts/backup-kmq-database",
"import": "ts-node --swc src/scripts/backup-kmq-database --import",
"regenerate-test-db-dump": "NODE_ENV=test ts-node src/scripts/regenerate-test-db-dump",
"test": "NODE_ENV=test mocha -r ts-node/register 'src/test/unit_tests/**/*.ts'",
"test-ci": "NODE_ENV=test mocha -- --forbid-only -r ts-node/register 'src/test/unit_tests/**/*.ts'",
"prepare-schema": "bash src/scripts/prepare-kysely-schema.sh",
"prettier": "prettier --write '**/*.{js,ts}'",
"prettier-ci": "prettier --check '**/*.{js,ts}'",
"missing-i18n": "ts-node src/ci_checks/missing_i18n.ts $(find src -name '*.ts' -print)"
},
"author": "Brian Le",
"license": "GPL-3.0",
"dependencies": {
"@commander-js/extra-typings": "^12.1.0",
"@discordjs/opus": "^0.9.0",
"@fastify/view": "^9.1.0",
"@google/generative-ai": "^0.17.0",
"@swc-node/register": "^1.10.9",
"@swc/core": "^1.7.14",
"@types/damerau-levenshtein": "^1.0.2",
"@types/ejs": "^3.1.5",
"@types/fluent-ffmpeg": "^2.1.25",
"@types/i18next-fs-backend": "^1.1.5",
"@types/lodash": "^4.17.7",
"@types/mocha": "^10.0.7",
"@types/node-schedule": "^2.1.7",
"@types/sinon": "^17.0.3",
"@types/tiny-async-pool": "^2.0.3",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"async-mutex": "^0.5.0",
"axios": "^1.7.4",
"bgutils-js": "^1.0.1",
"bufferutil": "^4.0.8",
"commander": "^12.1.0",
"damerau-levenshtein": "^1.0.8",
"dotenv": "^16.4.5",
"ejs": "^3.1.10",
"eris": "https://github.com/Brainicism/eris#bfae71e",
"eris-fleet": "https://github.com/Brainicism/eris-fleet#9916334",
"eris-pagination": "https://github.com/Brainicism/eris-pagination#9a112cb",
"fastify": "^4.28.1",
"fluent-ffmpeg": "^2.1.3",
"googleapis": "^142.0.0",
"googlevideo": "^1.1.0",
"i18next": "^23.14.0",
"i18next-fs-backend": "^2.3.2",
"jsdom": "^24.1.1",
"kysely": "^0.27.4",
"lodash": "^4.17.21",
"mocha": "^10.7.3",
"moment-timezone": "^0.5.45",
"mysql2": "^3.11.0",
"node-schedule": "^2.1.1",
"pako": "^2.1.0",
"sinon": "^18.0.0",
"snoowrap": "^1.23.0",
"sodium-native": "^4.1.1",
"tiny-async-pool": "^2.1.0",
"ts-node": "^10.9.2",
"uuid": "^10.0.0",
"winston": "^3.14.2",
"winston-daily-rotate-file": "^5.0.0",
"youtubei.js": "^13.1.0"
},
"devDependencies": {
"@types/jsdom": "^21.1.7",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-i18n-json": "https://github.com/godaddy/eslint-plugin-i18n-json#13d5f18",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^50.2.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
"eslint-plugin-tsdoc": "^0.3.0",
"i18n-ai-translate": "^2.0.8",
"kysely-codegen": "^0.15.0",
"prettier": "3.3.3",
"typescript": "^5.5.4"
},
"description": "K-pop guessing game over Discord"
}