forked from TripSit/TripBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 4.85 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
130
131
132
133
{
"name": "tripbot",
"version": "6.6.0",
"description": "A bot for TripSit (and maybe the world)",
"main": "start.ts",
"prisma": {
"schema": "src/prisma/tripbot/schema.prisma",
"seed": "ts-node ./src/prisma/seed.ts"
},
"engines": {
"node": "v21.4.0",
"npm": "10.2.4"
},
"scripts": {
"## TRIPBOT ##": "",
"tripbot:start": "docker compose --project-name tripbot up -d --force-recreate --build tripbot ",
"tripbot:logs": "docker container logs tripbot -f -n 100",
"tripbot:test": "docker exec -it tripbot npx jest --silent -c ./src/jest/jest.config.ts ",
"tripbot:test1": "npx jest -c ./src/jest/jest.config.ts",
"tripbot:lint": "docker exec -it tripbot npx eslint --fix --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts . --cache",
"tripbot:deployCommands": "docker exec -it tripbot ts-node --transpile-only ./src/discord/utils/commandDeploy.ts -- deployCommands",
"tripbot:db:generate": "npx prisma generate && npx prisma generate --schema src/prisma/moodle/schema.prisma && docker exec -it tripbot npx prisma generate && docker exec -it tripbot npx prisma generate --schema src/prisma/moodle/schema.prisma",
"## DATABASE ##": "",
"db:start": "docker compose --project-name tripbot up -d --force-recreate --build tripbot_database",
"db:logs": "docker container logs tripbot_database -f -n 100",
"db:formatSchema": "docker exec -it tripbot npx prisma format",
"db:validateSchema": "docker exec -it tripbot npx prisma validate",
"db:generateClient": "npx prisma generate && docker exec -it tripbot npx prisma generate",
"db:pushDev": "docker exec -it tripbot npx prisma db push && npm run tripbot:db:generate",
"db:migrateDev": "docker exec -it tripbot npx prisma migrate dev -n welcome_fix",
"db:seed": "docker exec -it tripbot npx prisma db seed",
"## PGADMIN ##": "",
"pgadmin": "docker compose --project-name tripbot up -d --force-recreate --build tripbot_pgadmin",
"pgadmin:logs": "docker container logs tripbot_pgadmin -f -n 100",
"## CODESPACE ##": "",
"codespace:start": "npx tsc-watch --onSuccess 'npx nodemon --config ./nodemon.json'",
"codespace:deploy": "npx ts-node --transpile-only ./src/discord/utils/commandDeploy.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TripSit/TripBot"
},
"keywords": [
"Harm",
"Reduction",
"Bot"
],
"author": "Eric / Moonbear / Teknos <[email protected]>",
"contributors": [
"Hipperooni",
"Ajar",
"Change"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/TripSit/TripBot/issues"
},
"homepage": "https://github.com/TripSit/TripBot#readme",
"dependencies": {
"@discordjs/voice": "^0.16.1",
"@google/generative-ai": "^0.2.1",
"@napi-rs/canvas": "^0.1.44",
"@octokit/types": "^12.4.0",
"@octokit/webhooks-types": "^7.3.1",
"@prisma/client": "^5.8.1",
"@sentry/node": "^7.98.0",
"argon2": "^0.31.2",
"axios": "^1.6.6",
"body-parser": "^1.20.2",
"common-tags": "^1.8.2",
"convert-units": "^2.3.4",
"cross-fetch": "^4.0.0",
"discord-api-types": "^0.37.67",
"discord.js": "^14.14.1",
"dotenv": "^16.4.1",
"express": "^4.18.2",
"express-rate-limit": "^7.1.5",
"fuse.js": "^7.0.0",
"graphql-request": "^6.1.0",
"he": "^1.2.0",
"helmet": "^7.1.0",
"imdb-api": "^4.4.1",
"luxon": "^3.4.4",
"moment": "^2.30.1",
"morgan": "^1.10.0",
"ms": "^2.1.3",
"node-os-utils": "^1.3.7",
"objection": "^3.1.3",
"octokit": "^3.1.2",
"openai": "^4.53.2",
"rollbar": "^2.26.2",
"rss-parser": "^3.13.0",
"source-map-support": "^0.5.21",
"telegraf": "^4.15.3",
"tripsit_drug_db": "github:tripsit/drugs",
"trivia-api": "^1.0.0",
"underscore": "^1.13.6",
"winston": "^3.11.0",
"winston-transport": "^4.7.0",
"winston-transport-rollbar-3": "^3.2.6",
"youtube-search-without-api-key": "^2.0.1"
},
"devDependencies": {
"@types/common-tags": "^1.8.4",
"@types/convert-units": "^2.3.9",
"@types/express": "^4.17.21",
"@types/he": "^1.2.3",
"@types/jest": "^29.5.11",
"@types/luxon": "^3.4.2",
"@types/morgan": "^1.9.9",
"@types/ms": "^0.7.34",
"@types/node": "^20.11.6",
"@types/node-os-utils": "^1.3.4",
"@types/source-map-support": "^0.5.10",
"@types/supertest": "^6.0.2",
"@types/underscore": "^1.11.15",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"axios-mock-adapter": "^1.22.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-sonarjs": "^0.23.0",
"jest": "^29.7.0",
"prisma": "^5.8.1",
"supertest": "^6.3.4",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsc-watch": "^6.0.4",
"typescript": "^5.3.3"
}
}