forked from telegraf/telegraf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 3.16 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "telegraf",
"version": "4.16.3",
"description": "Modern Telegram Bot Framework",
"license": "MIT",
"author": "The Telegraf Contributors",
"homepage": "https://telegraf.js.org",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/telegraf/telegraf.git"
},
"bugs": {
"url": "https://github.com/telegraf/telegraf/issues"
},
"main": "lib/index.js",
"exports": {
".": {
"types": "./typings/index.d.ts",
"default": "./lib/index.js"
},
"./filters": {
"types": "./filters.d.ts",
"default": "./filters.js"
},
"./future": {
"types": "./future.d.ts",
"default": "./future.js"
},
"./scenes": {
"types": "./scenes.d.ts",
"default": "./scenes.js"
},
"./types": {
"types": "./types.d.ts",
"default": "./types.js"
},
"./format": {
"types": "./format.d.ts",
"default": "./format.js"
},
"./utils": {
"types": "./utils.d.ts",
"default": "./utils.js"
},
"./markup": {
"types": "./markup.d.ts",
"default": "./markup.js"
},
"./session": {
"types": "./session.d.ts",
"default": "./session.js"
}
},
"files": [
"bin/*",
"src/**/*.ts",
"lib/**/*.js",
"typings/**/*.d.ts",
"typings/**/*.d.ts.map",
"types.*",
"format.*",
"filters.*",
"future.*",
"scenes.*",
"utils.*",
"markup.*",
"session.*"
],
"bin": {
"telegraf": "lib/cli.mjs"
},
"scripts": {
"prepare": "npm run --silent build",
"build": "tsc && npm run expose",
"expose": "tsx build/expose.ts types scenes filters format future utils markup session",
"build:docs": "typedoc src/index.ts",
"pretest": "npm run build",
"test": "ava",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"checks": "npm test && npm run lint",
"refresh": "npm run clean && npm ci",
"clean": "git clean -fX .eslintcache docs/build/ lib/ typings/"
},
"ava": {
"files": [
"test/*",
"!test/_*"
]
},
"type": "commonjs",
"engines": {
"node": "^12.20.0 || >=14.13.1"
},
"types": "./typings/index.d.ts",
"dependencies": {
"@telegraf/types": "^7.1.0",
"abort-controller": "^3.0.0",
"debug": "^4.3.4",
"mri": "^1.2.0",
"node-fetch": "^2.7.0",
"p-timeout": "^4.1.0",
"safe-compare": "^1.1.4",
"sandwich-stream": "^2.0.2"
},
"devDependencies": {
"@types/debug": "^4.1.8",
"@types/node": "^20.4.2",
"@types/node-fetch": "^2.6.2",
"@types/safe-compare": "^1.1.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"ava": "^5.3.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-ava": "^14.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"fast-check": "^3.12.0",
"prettier": "^3.0.3",
"tsx": "^4.7.1",
"typedoc": "^0.25.0",
"typescript": "^5.2.2"
},
"keywords": [
"telegraf",
"telegram",
"telegram bot api",
"bot",
"botapi",
"bot framework"
]
}