1 | {
|
2 | "name": "telegraf",
|
3 | "version": "4.13.0",
|
4 | "description": "Modern Telegram Bot Framework",
|
5 | "license": "MIT",
|
6 | "author": "Vitaly Domnikov <oss@vitaly.codes>",
|
7 | "homepage": "https://telegraf.js.org",
|
8 | "repository": {
|
9 | "type": "git",
|
10 | "url": "git+ssh://git@github.com/telegraf/telegraf.git"
|
11 | },
|
12 | "bugs": {
|
13 | "url": "https://github.com/telegraf/telegraf/issues"
|
14 | },
|
15 | "main": "lib/index.js",
|
16 | "exports": {
|
17 | ".": {
|
18 | "types": "./typings/index.d.ts",
|
19 | "default": "./lib/index.js"
|
20 | },
|
21 | "./filters": {
|
22 | "types": "./filters.d.ts",
|
23 | "default": "./filters.js"
|
24 | },
|
25 | "./future": {
|
26 | "types": "./future.d.ts",
|
27 | "default": "./future.js"
|
28 | },
|
29 | "./scenes": {
|
30 | "types": "./typings/scenes/index.d.ts",
|
31 | "default": "./lib/scenes/index.js"
|
32 | },
|
33 | "./types": {
|
34 | "types": "./types.d.ts",
|
35 | "default": "./types.js"
|
36 | },
|
37 | "./format": {
|
38 | "types": "./format.d.ts",
|
39 | "default": "./format.js"
|
40 | },
|
41 | "./utils": {
|
42 | "types": "./typings/utils.d.ts",
|
43 | "default": "./lib/utils.d.ts"
|
44 | }
|
45 | },
|
46 | "files": [
|
47 | "bin/*",
|
48 | "src/**/*.ts",
|
49 | "lib/**/*.js",
|
50 | "typings/**/*.d.ts",
|
51 | "typings/**/*.d.ts.map",
|
52 | "types.*",
|
53 | "format.*",
|
54 | "filters.*",
|
55 | "future.*"
|
56 | ],
|
57 | "bin": {
|
58 | "telegraf": "lib/cli.mjs"
|
59 | },
|
60 | "scripts": {
|
61 | "prepare": "npm run --silent build",
|
62 | "build": "tsc",
|
63 | "build:docs": "typedoc src/index.ts",
|
64 | "pretest": "npm run build",
|
65 | "test": "ava",
|
66 | "lint": "eslint .",
|
67 | "checks": "npm test && npm run lint",
|
68 | "refresh": "npm run clean && npm ci",
|
69 | "clean": "git clean -fX .eslintcache docs/build/ lib/ typings/"
|
70 | },
|
71 | "ava": {
|
72 | "files": [
|
73 | "test/*",
|
74 | "!test/_*"
|
75 | ]
|
76 | },
|
77 | "type": "commonjs",
|
78 | "engines": {
|
79 | "node": "^12.20.0 || >=14.13.1"
|
80 | },
|
81 | "types": "./typings/index.d.ts",
|
82 | "dependencies": {
|
83 | "@telegraf/types": "^6.8.1",
|
84 | "abort-controller": "^3.0.0",
|
85 | "debug": "^4.3.4",
|
86 | "mri": "^1.2.0",
|
87 | "node-fetch": "^2.6.8",
|
88 | "p-timeout": "^4.1.0",
|
89 | "safe-compare": "^1.1.4",
|
90 | "sandwich-stream": "^2.0.2"
|
91 | },
|
92 | "devDependencies": {
|
93 | "@types/debug": "^4.1.8",
|
94 | "@types/node": "^20.4.2",
|
95 | "@types/node-fetch": "^2.6.2",
|
96 | "@types/safe-compare": "^1.1.0",
|
97 | "@typescript-eslint/eslint-plugin": "^6.1.0",
|
98 | "@typescript-eslint/parser": "^6.1.0",
|
99 | "ava": "^5.3.1",
|
100 | "eslint": "^8.45.0",
|
101 | "eslint-config-prettier": "^9.0.0",
|
102 | "eslint-plugin-ava": "^14.0.0",
|
103 | "eslint-plugin-import": "^2.27.5",
|
104 | "eslint-plugin-node": "^11.1.0",
|
105 | "eslint-plugin-prettier": "^5.0.0",
|
106 | "eslint-plugin-promise": "^6.1.1",
|
107 | "fast-check": "^3.12.0",
|
108 | "prettier": "^3.0.3",
|
109 | "typedoc": "^0.25.0",
|
110 | "typescript": "^5.2.2"
|
111 | },
|
112 | "keywords": [
|
113 | "telegraf",
|
114 | "telegram",
|
115 | "telegram bot api",
|
116 | "bot",
|
117 | "botapi",
|
118 | "bot framework"
|
119 | ]
|
120 | }
|