-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
129 lines (129 loc) · 5.01 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
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "utility-discord-bot",
"version": "1.0.0",
"engines": {
"node": "18.x"
},
"description": "https://discord.com/api/oauth2/authorize?client_id=783752800138952744&permissions=1573383287&scope=bot",
"main": "src/index.ts",
"scripts": {
"lint": "eslint .",
"test:unit": "jest",
"test": "npm run lint && jest && tsc",
"shell:bot": "docker exec -it utility-discord-bot sh",
"shell:website": "docker exec -it utility-discord-bot-website sh",
"shell:db": "docker exec -it utility-discord-bot-db sh -c \"psql -d utility-discord-bot-db -U user\"",
"dev": "nodemon",
"start": "ts-node --transpile-only --require tsconfig-paths/register src/index.ts",
"start:nohup": "nohup npm start > log 2>&1 &",
"stop:nohup": "pkill -9 -f 'bin/ts-node'",
"restart:nohup": "npm run stop:nohup\nnpm run start:nohup",
"up": "docker-compose up",
"up:rebuild": "docker-compose up --build --force-recreate --renew-anon-volumes",
"docker-push": "./scripts/docker-push.sh",
"docker-push:latest": "./scripts/docker-push.sh latest",
"docker-pull": "docker pull mikeyaworski/utility-discord-bot:latest",
"start:docker": "docker run -d --restart unless-stopped --env-file .env --publish 80:3000 --name utility-discord-bot mikeyaworski/utility-discord-bot:latest",
"stop:docker": "docker stop utility-discord-bot && docker rm utility-discord-bot",
"restart:docker": "npm run stop:docker && npm run start:docker",
"dhparam": "mkdir -p deploy/dhparam && openssl dhparam -out ./deploy/dhparam/dhparam-2048.pem 2048",
"start:docker-compose": "docker-compose -f deploy/docker-compose.yml --env-file .env up -d",
"stop:docker-compose": "docker-compose -f deploy/docker-compose.yml stop && docker-compose -f deploy/docker-compose.yml rm -f",
"restart:docker-compose": "npm run stop:docker-compose && npm run start:docker-compose",
"remove-volumes": "docker volume rm deploy_webroot deploy_certbot-etc deploy_certbot-var",
"remove-bot-image": "docker container rm utility-discord-bot && docker image rm utility-discord-bot-utility-discord-bot",
"stats:bot": "docker stats utility-discord-bot",
"logs:bot": "docker logs -f --timestamps utility-discord-bot",
"logs:cron": "cat /var/log/cron.log",
"logs:http": "docker logs -f --timestamps http-server",
"logs:https": "docker logs -f --timestamps https-server",
"logs:cert": "docker logs -f --timestamps certbot"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mikeyaworski/utility-discord-bot.git"
},
"author": "Michael Yaworski",
"license": "ISC",
"bugs": {
"url": "https://github.com/mikeyaworski/utility-discord-bot/issues"
},
"homepage": "https://github.com/mikeyaworski/utility-discord-bot#readme",
"dependencies": {
"@discordjs/builders": "^1.6.3",
"@discordjs/opus": "^0.9.0",
"@discordjs/rest": "^1.7.1",
"@discordjs/voice": "^0.17.0",
"@google-cloud/text-to-speech": "^5.3.0",
"@vvo/tzdb": "^6.7.0",
"axios": "^0.21.1",
"cheerio": "^1.0.0-rc.10",
"chess.js": "^1.0.0-alpha.0",
"chrono-node": "^2.3.0",
"cookie": "^0.5.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"cron": "^1.8.2",
"discord-api-types": "^0.37.46",
"discord.js": "^14.11.0",
"dotenv": "^8.2.0",
"emoji-regex": "^9.2.0",
"express": "^4.17.1",
"humanize-duration": "^3.27.1",
"ini": "^2.0.0",
"iso8601-duration": "^2.1.1",
"lodash.chunk": "^4.2.0",
"lodash.debounce": "^4.0.8",
"lodash.get": "^4.4.2",
"lodash.throttle": "^4.1.1",
"lodash.uniq": "^4.5.0",
"node-cache": "^5.1.2",
"node-fetch": "^2.7.0",
"node-notifier": "^9.0.0",
"openai": "^4.50.0",
"p-limit": "^3.1.0",
"pg": "^8.5.1",
"play-dl": "^1.9.7",
"prism-media": "^1.3.5",
"rate-limiter-flexible": "^2.4.1",
"sequelize": "^6.28.0",
"socket.io": "^4.5.1",
"spotify-url-info": "^2.2.3",
"tweetnacl": "^1.0.3",
"youtube-dl-exec": "^3.0.7",
"youtube-sr": "^4.1.17"
},
"optionalDependencies": {
"sodium": "^3.0.2"
},
"devDependencies": {
"@types/chess.js": "^0.11.2",
"@types/cookie-parser": "^1.4.3",
"@types/cors": "^2.8.12",
"@types/cron": "^1.7.3",
"@types/emoji-regex": "^9.2.0",
"@types/express": "^4.17.9",
"@types/humanize-duration": "^3.27.1",
"@types/jest": "^26.0.16",
"@types/lodash.chunk": "^4.2.6",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.get": "^4.4.6",
"@types/lodash.throttle": "^4.1.6",
"@types/lodash.uniq": "^4.5.6",
"@types/node": "^18.19.34",
"@types/node-fetch": "^2.6.6",
"@types/ws": "^7.4.6",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"eslint": "^8.32.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"jest": "^29.3.1",
"nodemon": "^2.0.6",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.2",
"typescript": "^4.9.4"
}
}