-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
33 lines (33 loc) · 1.8 KB
/
package.json
File metadata and controls
33 lines (33 loc) · 1.8 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
{
"type": "module",
"dependencies": {
"@hono/node-server": "^2.0.4",
"discord.js": "^14.26.4",
"emojibase-data": "^17.0.0",
"entities": "^8.0.0",
"hono": "^4.12.23",
"httpcloak": "^1.6.6",
"lavalink-client": "^2.10.2",
"linkedom": "^0.18.12",
"tslib": "^2.8.1",
"undici": "^8.3.0",
"x-client-transaction-id": "^0.2.3"
},
"scripts": {
"pm2-check": "command -v pm2 >/dev/null 2>&1 || npm install -g pm2",
"start": "npm run pm2-check && pm2 delete api 2>/dev/null; pm2 start \"bun --hot --experimental-http2-fetch .\" --name api -i 1 && pm2 save --force",
"start-4": "npm run pm2-check && pm2 delete api 2>/dev/null; pm2 start \"bun --hot --experimental-http2-fetch --dns-result-order=ipv4first .\" --name api -i 1 && pm2 save --force",
"start-6": "npm run pm2-check && pm2 delete api 2>/dev/null; pm2 start \"bun --hot --experimental-http2-fetch --dns-result-order=ipv6first .\" --name api -i 1 && pm2 save --force",
"stop": "npm run pm2-check && pm2 delete api 2>/dev/null && pm2 save --force",
"gen": "bun gen-routes.ts",
"browser-install": "python3 -m venv .venv && ./.venv/bin/pip install \"scrapling[ai]\" && ./.venv/bin/python -m playwright install chromium",
"gen-update": "rm -rf node_modules bun.lock functions routes && curl -L https://github.com/GreenVGJR/api/tarball/main | tar -xz --strip-components=1 && bun install && bun run gen && bun update --latest && npm install -g pm2 && bun run start && npm update -g",
"soft-update": "curl -L https://github.com/GreenVGJR/api/tarball/main | tar -xz --strip-components=1 && bun install && bun run gen && bun update --latest && npm install -g pm2 && npm update -g"
},
"devDependencies": {
"@types/node": "^25.9.1",
"bun-types": "^1.3.14",
"tsx": "^4.22.4",
"typescript": "^6.0.3"
}
}