-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
54 lines (54 loc) · 2.04 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
{
"module": "build/main.js",
"type": "module",
"exports": "./build/main.js",
"engines": {
"node": ">=22"
},
"scripts": {
"setup": "npm install -g typescript pm2 prisma && npm install && npm run setup:py; npm start",
"setup:full": "npm run prisma:push && npm run setup",
"setup:py": "python3 -m venv settings/venv && settings/venv/bin/pip install rembg onnxruntime yt-dlp",
"update": "git pull origin master; npm update --save; deno upgrade; bun upgrade; npm run update:py; npm run postinstall",
"update:py": "settings/venv/bin/pip install -U rembg onnxruntime yt-dlp",
"reset": "rm -r settings/auth/* settings/cache/* settings/temp/*",
"postinstall": "rm package-lock.json & npm run prisma:gen && npm run build",
"build": "rm -r build/ & npx tsc",
"start": "npx pm2 start settings/ecosystem.config.cjs --attach",
"test": "node build/main.js",
"stop": "npx pm2 delete all",
"prisma:push": "npx prisma db push --schema=settings/schema.prisma",
"prisma:gen": "npx prisma generate --schema=settings/schema.prisma",
"prisma:pull": "npx prisma db pull --schema=settings/schema.prisma",
"fmt": "deno fmt ./ --config=settings/deno.jsonc",
"dev": "npx pm2 delete walle; deno run --watch -A -c settings/deno.jsonc plugin/copilot.ts",
"translate": "npx @parvineyvazov/json-translator locale/pt.json -m google -f pt -t en es fr pl"
},
"dependencies": {
"@google/generative-ai": "^0.21.0",
"@prisma/client": "^6.3.0",
"baileys": "^6.7.9",
"chalk": "^5.4.1",
"express": "^4.21.2",
"google-sr": "^5.0.0",
"google-translate": "github:iamtraction/google-translate",
"googlethis": "^1.8.0",
"humanize-duration": "^3.32.1",
"i18next": "^24.2.2",
"i18next-fs-backend": "^2.6.0",
"jimp": "^0.16.13",
"luxon": "^3.5.0",
"pino": "^9.6.0",
"qrcode-terminal": "^0.12.0",
"wa-sticker-formatter": "^4.4.4"
},
"devDependencies": {
"@types/express": "^5.0.0",
"@types/humanize-duration": "^3.27.4",
"@types/luxon": "^3.4.2",
"@types/node": "^22.12.0",
"pino-pretty": "^13.0.0",
"prisma": "^6.3.0",
"typescript": "^5.7.3"
}
}