-
Notifications
You must be signed in to change notification settings - Fork 844
/
package.json
67 lines (67 loc) · 3.55 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
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "chatgpt-telegram-workers",
"type": "module",
"version": "1.10.3",
"description": "The easiest and quickest way to deploy your own ChatGPT Telegram bot is to use a single file and simply copy and paste it. There is no need for any dependencies, local development environment configuration, domain names, or servers.",
"author": "tbxark <[email protected]>",
"license": "MIT",
"repository": "[email protected]:TBXark/ChatGPT-Telegram-Workers.git",
"types": "./packages/lib/core/dist/index.d.ts",
"module": "./packages/lib/core/dist/index.js",
"main": "./packages/lib/core/dist/index.cjs",
"exports": {
".": {
"types": "./packages/lib/core/dist/index.d.ts",
"import": "./packages/lib/core/dist/index.js",
"require": "./packages/lib/core/dist/index.cjs"
}
},
"files": [
"./packages/lib/core/dist/index.d.ts",
"./packages/lib/core/dist/index.js",
"./packages/lib/core/dist/index.cjs"
],
"scripts": {
"lint": "eslint --fix *.js *.ts packages plugins scripts",
"version": "tsx scripts/gen-version.ts",
"build": "pnpm -r run build",
"build:plugins": "pnpm run --filter @chatgpt-telegram-workers/plugins... build",
"build:core": "pnpm run --filter @chatgpt-telegram-workers/core... build",
"build:next": "pnpm run --filter @chatgpt-telegram-workers/next... build",
"build:local": "pnpm run --filter @chatgpt-telegram-workers/local... build",
"build:vercel": "pnpm run --filter @chatgpt-telegram-workers/vercel... build",
"build:workers": "pnpm run --filter @chatgpt-telegram-workers/workers... build",
"build:workersnext": "pnpm run --filter @chatgpt-telegram-workers/workers-next... build",
"build:interpolate": "pnpm run --filter @chatgpt-telegram-workers/interpolate... build",
"build:docker": "docker build -t chatgpt-telegram-workers:latest .",
"build:dockerx": "docker buildx build --platform linux/amd64,linux/arm64 -t chatgpt-telegram-workers:latest .",
"build:dist": "pnpm run version && pnpm run build:workers && cp -r packages/apps/workers/dist/index.js dist/",
"deploy:dist": "pnpm run build:dist && wrangler deploy",
"deploy:workers": "pnpm run build:workers && TOML_PATH=$INIT_CWD/wrangler.toml pnpm run --filter @chatgpt-telegram-workers/workers deploy",
"deploy:workersnext": "pnpm run build:workersnext && TOML_PATH=$INIT_CWD/wrangler.toml pnpm run --filter @chatgpt-telegram-workers/workers-next deploy",
"deploy:vercel": "pnpm run build:vercel && vercel --prod",
"start:local": "pnpm run build:local && CONFIG_PATH=$INIT_CWD/config.json TOML_PATH=$INIT_CWD/wrangler.toml pnpm run --filter @chatgpt-telegram-workers/local start",
"vercel:syncenv": "tsx scripts/vercel-sync-env.ts && vercel --prod",
"clean": "pnpm -r run clean",
"wrangler": "wrangler"
},
"devDependencies": {
"@antfu/eslint-config": "^3.11.2",
"@rollup/plugin-node-resolve": "^15.3.0",
"@types/node": "^22.10.1",
"eslint": "^9.16.0",
"eslint-plugin-format": "^0.1.3",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-node-externals": "^7.1.3",
"stylelint": "^16.11.0",
"telegram-bot-api-types": "^8.0.0",
"toml": "^3.0.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vercel": "^39.1.2",
"vite": "^6.0.1",
"vite-plugin-checker": "^0.8.0",
"vite-plugin-dts": "^4.3.0",
"wrangler": "^3.91.0"
}
}