-
Notifications
You must be signed in to change notification settings - Fork 97
/
package.json
67 lines (67 loc) · 1.86 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-bot",
"version": "2.5.0",
"description": "A ChatGPT bot for Telegram.",
"main": "index.js",
"type": "module",
"scripts": {
"build": "tsc --build",
"build:debug": "tsc --build && tsc --sourceMap",
"dev": "tsc-watch --onSuccess \"node --experimental-loader=extensionless dist/index.js\"",
"start": "node --experimental-loader=extensionless dist/index.js",
"lint": "eslint src/**/*.{js,ts}",
"lint:fix": "eslint --fix src/**/*.{js,ts}",
"format": "prettier --check src/**/*.{js,ts}",
"format:fix": "prettier --write src/**/*.{js,ts}",
"typecheck": "tsc --noEmit --noUnusedLocals",
"prepare": "husky install"
},
"lint-staged": {
"src/**/*.{js,ts}": [
"eslint",
"prettier --check"
]
},
"keywords": [
"ChatGPT",
"Telegram",
"Bot"
],
"author": "RainEggplant",
"license": "MIT",
"devDependencies": {
"@types/config": "^3.3.0",
"@types/lodash": "^4.14.192",
"@types/node": "^18.15.11",
"@types/node-telegram-bot-api": "^0.57.7",
"@types/promise-queue": "^2.2.0",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"prettier": "^2.8.7",
"tsc-watch": "^6.0.0",
"typescript": "^4.9.5"
},
"dependencies": {
"@keyv/redis": "^2.5.7",
"chatgpt": "^5.1.4",
"config": "^3.3.9",
"dotenv": "^16.0.3",
"extensionless": "^1.3.4",
"https-proxy-agent": "^5.0.1",
"ioredis": "^5.3.2",
"keyv": "^4.5.2",
"lodash": "^4.17.21",
"node-fetch": "^3.3.1",
"node-telegram-bot-api": "^0.60.0",
"promise-queue": "^2.2.5",
"telegramify-markdown": "^1.1.0"
},
"optionalDependencies": {
"chatgpt-v3": "npm:chatgpt@3.5.1",
"puppeteer": "^19.8.2"
}
}