-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
139 lines (139 loc) · 5.11 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
134
135
136
137
138
139
{
"name": "@osn/sudobot",
"version": "10.31.3",
"description": "A Discord bot for moderation purposes.",
"author": {
"name": "Ar Rakin",
"email": "rakinar2@onesoftnet.eu.org",
"url": "https://virtual-designer.github.io"
},
"main": "build/out/main/main.js",
"license": "AGPL-3.0-or-later",
"keywords": [
"bot",
"discord-bot",
"moderation",
"automoderation",
"discord-moderation",
"discord-moderation-bot",
"discord-automoderation",
"discord-automoderation-bot"
],
"homepage": "https://github.com/onesoft-sudo/sudobot",
"icon": "https://res.cloudinary.com/rakinar2/image/upload/v1659628446/SudoBot-new_cvwphw.png",
"readme": "https://github.com/onesoft-sudo/sudobot#readme",
"repository": {
"type": "git",
"url": "https://github.com/onesoft-sudo/sudobot"
},
"bugs": {
"url": "https://github.com/onesoft-sudo/sudobot/issues",
"email": "sudobot@onesoftnet.eu.org"
},
"_meta": {
"release_codename": "Delicious Donut",
"release_short_codename": "Donut"
},
"funding": {
"type": "paypal",
"url": "https://www.sudobot.online/donate?utm_source=package-json&utm_medium=funding&utm_campaign=paypal"
},
"scripts": {
"start": "node build/out/main/typescript/main.js",
"start:bun": "bun --tsconfig-override=tsconfig.bun.json src/main/typescript/bun.ts",
"prepare": "husky && node -e \"const { symlinkSync, rmSync, existsSync } = require('fs'); const path = require('path'); const link = path.join(process.cwd(), 'node_modules/blazebuild'); if (existsSync(link)) { rmSync(link, { recursive: true }); } symlinkSync(path.join(process.cwd(), 'blazebuild'), link, 'dir');\"",
"dev": "bun run src/main/typescript/bun.ts",
"start:blazew": "node build/out/main/typescript/main.js",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"build": "tsc && mv build/out/src _build && rm -fr build/out && mv _build build/out && cp -r src/main/resources build/out/main",
"start:prod": "pm2 start ./ecosystem.config.js",
"deploy": "node scripts/deploy-commands.js",
"gen:schema": "node scripts/generate-config-schema.js",
"clean": "rm -frv build tsconfig.tsbuildinfo; make clean",
"test": "vitest",
"shell": "bun run src/main/typescript/shell.ts",
"start:docker": "sh ./docker/test-container.sh; if [ $? -ne 0 ]; then exit 1; fi; if [ ! -f /app/.migration_status ] || [ -z \"$(cat /app/.migration_status)\" ]; then node scripts/migrate.js; fi; npm start"
},
"_moduleAliases": {
"@sudobot": "build/out",
"@framework": "build/out/framework/typescript",
"@main": "build/out/main/typescript",
"@root": "."
},
"trustedDependencies": [
"@tensorflow/tfjs-node",
"bcrypt",
"core-js",
"esbuild",
"sharp",
"tesseract.js"
],
"dependencies": {
"@googleapis/oauth2": "^1.0.7",
"archiver": "^7.0.1",
"ascii-table3": "^0.9.0",
"axios": "^1.7.4",
"bcrypt": "^5.1.1",
"chalk": "^4.1.2",
"cors": "^2.8.5",
"date-fns": "^4.1.0",
"deepmerge": "^4.3.1",
"discord.js": "^14.16.3",
"dot-object": "^2.1.5",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.34.1",
"express": "^4.19.2",
"express-rate-limit": "^7.3.1",
"figlet": "^1.7.0",
"glob": "^11.0.0",
"json5": "^2.2.3",
"jsonwebtoken": "^9.0.2",
"module-alias": "^2.2.3",
"pg": "^8.12.0",
"pm2": "^5.4.2",
"reflect-metadata": "^0.2.2",
"semver": "^7.6.2",
"sharp": "^0.33.4",
"socket.io": "^4.8.0",
"tar": "^7.4.0",
"tslib": "^2.6.3",
"undici": "^6.19.2",
"uuid": "^10.0.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@faker-js/faker": "^9.0.3",
"@onesoftnet/pm2-config": "^0.0.7",
"@types/archiver": "^6.0.2",
"@types/bcrypt": "^5.0.2",
"@types/bun": "latest",
"@types/cors": "^2.8.17",
"@types/dot-object": "^2.1.6",
"@types/express": "^5.0.0",
"@types/figlet": "^1.5.8",
"@types/glob": "^8.1.0",
"@types/jsonwebtoken": "^9.0.6",
"@types/module-alias": "^2.0.4",
"@types/node": "^22.0.0",
"@types/pg": "^8.11.6",
"@types/semver": "^7.5.8",
"@types/tar": "^6.1.13",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"@vitest/coverage-v8": "^2.1.2",
"eslint": "^8.57.0",
"husky": "^9.1.3",
"prettier": "^3.3.3",
"typedoc": "^0.26.7",
"typedoc-material-theme": "^1.1.0",
"typedoc-plugin-rename-defaults": "^0.7.1",
"typescript": "^5.5.3",
"typescript-eslint": "^7.16.1",
"vitest": "^2.1.2",
"zod-to-json-schema": "^3.23.1"
}
}