-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2.48 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 2.48 KB
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
{
"module": "wa.ts",
"type": "module",
"exports": "./wa.ts",
"engines": {
"node": ">=26"
},
"scripts": {
"presetup": "npm install -g prisma pm2",
"setup": "npm run presetup && npm install && echo light setup complete",
"setup:medium": "npm run presetup && npm install && npm run setup:py && echo medium setup complete",
"setup:strong": "npm run presetup && npm run db:push && npm install && npm run setup:py && echo strong setup complete",
"setup:py": "python3 -m venv conf/gen/python && conf/gen/python/bin/pip install rembg onnxruntime yt-dlp[default,curl-cffi]",
"wizard": "node setup.ts",
"update": "git pull origin master; npm run presetup; npm update --save; deno upgrade; bun upgrade; npm run update:py; npm run postinstall",
"update:py": "conf/gen/python/bin/pip install -U rembg onnxruntime yt-dlp[default,curl-cffi]",
"postinstall": "rm package-lock.json & npm run db:gen",
"start": "npx pm2 start conf/ecosystem.config.cjs --attach",
"start:dev": "NODE_EXTRA_CA_CERTS=conf/smufesrootca.pem node --env-file=conf/.env wa.ts",
"restart": "npx pm2 restart wa --attach",
"stop": "npx pm2 delete wa",
"db:gen": "npx prisma generate --schema=conf/gen/schema.prisma",
"db:push": "npx prisma db push --schema=conf/gen/schema.prisma",
"db:pull": "npx prisma db pull --schema=conf/gen/schema.prisma",
"reset": "rm -r conf/gen/auth/* conf/gen/cache/* conf/gen/temp/*",
"fmt": "deno fmt ./ --config=conf/deno.jsonc",
"dev": "npm run stop; DEV=1 npx pm2 start conf/ecosystem.config.cjs --attach",
"translate": "npx @parvineyvazov/json-translator locale/pt.json -m google -f pt -t en es fr de"
},
"dependencies": {
"@google/genai": "^2.11.0",
"@prisma/client": "^7.8.0",
"baileys": "github:whiskeysockets/Baileys",
"chalk": "^5.6.2",
"google-translate-api-x": "^10.7.3",
"humanize-duration": "^3.34.0",
"i18next": "^26.3.6",
"i18next-fs-backend": "^2.6.6",
"luxon": "^3.7.2",
"node-cron": "^4.6.0",
"node-webpmux": "^3.2.1",
"pino": "^10.3.1",
"qrcode": "^1.5.4",
"sharp": "^0.33.0",
"wa-sticker-formatter": "^4.4.4"
},
"devDependencies": {
"@prisma/adapter-pg": "^7.8.0",
"@types/humanize-duration": "^3.27.4",
"@types/luxon": "^3.7.2",
"@types/node": "^25.9.5",
"@types/node-cron": "^3.0.11",
"@types/qrcode": "^1.5.6",
"pino-pretty": "^13.1.3",
"prisma": "^7.8.0"
},
"allowScripts": {
"github:whiskeysockets/Baileys": true,
"sharp": true,
"@google/genai": true,
"@prisma/engines": true,
"prisma": true,
"protobufjs": true
}
}