-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
37 lines (37 loc) · 1.9 KB
/
Copy pathpackage.json
File metadata and controls
37 lines (37 loc) · 1.9 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
{
"type": "module",
"dependencies": {
"@hono/node-server": "^2.1.1",
"bgutils-js": "^4.0.3",
"discord.js": "^14.27.0",
"emojibase-data": "^17.0.0",
"entities": "^8.0.0",
"hono": "^4.13.3",
"httpcloak": "^1.6.11",
"jsdom": "^30.0.1",
"lavalink-client": "^2.10.4",
"linkedom": "^0.18.13",
"sharp": "^0.35.3",
"tslib": "^2.8.1",
"x-client-transaction-id": "^0.3.1",
"youtubei.js": "^18.0.0"
},
"scripts": {
"pm2-check": "command -v pm2 >/dev/null 2>&1 || npm install -g pm2",
"start-t": "bun -b --experimental-http2-fetch --experimental-http3-fetch --tls-max-v1.3 .",
"start": "npm run pm2-check && pm2 delete api 2>/dev/null; pm2 start \"bun -b --hot --experimental-http2-fetch --experimental-http3-fetch --tls-max-v1.3 .\" --name api -i 1 && pm2 save --force",
"start-6": "npm run pm2-check && pm2 delete api 2>/dev/null; pm2 start \"bun -b --hot --experimental-http2-fetch --experimental-http3-fetch --tls-max-v1.3 --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",
"prettier": "npx prettier --print-width 10000 --write . --use-tabs",
"browser-install": "python3 -m venv .venv && ./.venv/bin/pip install \"scrapling[ai]\" && ./.venv/bin/python -m playwright install chromium",
"gen-update": "bun run stop; rm -rf node_modules bun.lock functions routes public html && curl -L https://github.com/GreenVGJR/api/tarball/main | tar -xz --strip-components=1 && bun install && bun run gen && npm run pm2-check && bun run start && npm update -g",
"soft-update": "rm -rf functions routes public html && curl -L https://github.com/GreenVGJR/api/tarball/main | tar -xz --strip-components=1 && bun run gen && npm run pm2-check && npm update -g"
},
"devDependencies": {
"@types/node": "^26.2.0",
"bun-types": "^1.4.0",
"tsx": "^4.23.12",
"typescript": "^7.0.2"
}
}