-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.62 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 1.62 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
{
"name": "shit-bot",
"version": "1.0.0",
"description": "Monitor X/Twitter users and forward posts to Discord/Telegram",
"main": "dist/index.js",
"packageManager": "bun",
"scripts": {
"build": "tsc && tsc-alias && cp src/web/ui.html dist/web/ui.html",
"build:binary": "bun build src/index.ts --compile --outfile dist/shit-bot && cp src/web/ui.html dist/ui.html",
"build:binary:docker": "docker run --rm -v $(pwd):/app -w /app oven/bun sh -c 'bun install && bun build src/index.ts --compile --outfile dist/shit-bot && cp src/web/ui.html dist/ui.html'",
"start": "bun run dist/index.js",
"dev": "bun run --watch src/index.ts",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"deploy": "wrangler deploy",
"preview": "wrangler dev"
},
"dependencies": {
"discord.js": "^14.26.4",
"dotenv": "^17.4.2",
"https-proxy-agent": "^9.1.0",
"jmcomic-crawler": "^2.7.5",
"node-cron": "^4.5.0",
"node-emoji": "^2.2.0",
"rss-parser": "^3.13.0",
"sharp": "^0.35.3",
"smol-toml": "^1.7.0",
"speakeasy": "^2.0.0",
"telegraf": "^4.16.3",
"twitter-openapi-typescript": "^0.0.56",
"yaml": "^2.9.0"
},
"devDependencies": {
"@types/node": "^26.1.0",
"@types/node-cron": "^3.0.11",
"@types/sharp": "^0.32.0",
"@types/speakeasy": "^2.0.10",
"bun-types": "^1.3.14",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.17",
"tsx": "^4.22.5",
"typescript": "^6.0.3",
"vitepress": "^1.6.4",
"wrangler": "^4.107.0"
},
"patchedDependencies": {
"jmcomic-crawler@2.7.5": "patches/jmcomic-crawler@2.7.5.patch"
}
}