forked from TBXark/ChatGPT-Telegram-Workers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 3.02 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
68
69
70
71
72
73
{
"name": "chatgpt-telegram-workers",
"type": "module",
"version": "1.10.0",
"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",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"lint": "eslint --fix *.js *.ts src plugins scripts",
"version": "tsx src/vite/version/main.ts",
"build": "vite build",
"build:local": "ENTRY=src/entry/local/index.ts vite build",
"build:docker": "docker build -t chatgpt-telegram-workers:latest .",
"build:dockerx": "docker build --platform linux/amd64,linux/arm64 -t tbxark/chatgpt-telegram-workers:latest --push .",
"build:vercel": "ENTRY=src/entry/vercel/index.ts vite build",
"build:pack": "TYPES=true FORMATS=es,cjs vite build",
"deploy:dist": "wrangler deploy",
"deploy:build": "npm run build && wrangler deploy",
"deploy:vercel": "vercel deploy --prod",
"deploy:plugin": "vite build -c plugins/vite.config.ts && wrangler pages deploy plugins --project-name=interpolate-test --branch=main",
"start:dist": "CONFIG_PATH=./config.json TOML_PATH=./wrangler.toml node dist/index.js",
"start:local": "CONFIG_PATH=./config.json TOML_PATH=./wrangler.toml tsx src/entry/local/index.ts",
"start:debug": "wrangler dev --local",
"prepare:vercel": "tsx src/vite/vercel/setenv.ts",
"wrangler": "wrangler",
"test": "tsx ./src/agent/index.test.ts"
},
"dependencies": {
"@ai-sdk/anthropic": "^0.0.56",
"@ai-sdk/azure": "^0.0.52",
"@ai-sdk/cohere": "^0.0.28",
"@ai-sdk/google": "^0.0.55",
"@ai-sdk/mistral": "^0.0.46",
"@ai-sdk/openai": "^0.0.72",
"ai": "^3.4.33",
"cloudflare-worker-adapter": "^1.3.3"
},
"devDependencies": {
"@antfu/eslint-config": "^3.8.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/node": "^22.9.0",
"@types/react": "^18.3.11",
"@vercel/node": "^3.2.24",
"eslint": "^9.14.0",
"eslint-plugin-format": "^0.1.2",
"openai": "^4.68.1",
"react-dom": "^18.3.1",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-node-externals": "^7.1.3",
"stylelint": "^16.10.0",
"telegram-bot-api-types": "^7.11.0",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"vite": "^5.4.11",
"vite-plugin-checker": "^0.8.0",
"vite-plugin-dts": "^4.3.0",
"wrangler": "^3.86.1"
}
}