UNPKG

2.44 kBJSONView Raw
1{
2 "name": "telegraf",
3 "version": "4.9.1",
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 "require": "./lib/index.js",
20 "import": "./lib/index.js"
21 },
22 "./future": {
23 "types": "./future.d.ts",
24 "require": "./future.js",
25 "import": "./future.js"
26 },
27 "./types": {
28 "types": "./types.d.ts",
29 "require": "./types.js",
30 "import": "./types.js"
31 }
32 },
33 "files": [
34 "bin/*",
35 "src/**/*.ts",
36 "lib/**/*.js",
37 "typings/**/*.d.ts",
38 "typings/**/*.d.ts.map",
39 "types.*",
40 "future.*"
41 ],
42 "bin": {
43 "telegraf": "lib/cli.mjs"
44 },
45 "scripts": {
46 "prepare": "npm run --silent build",
47 "build": "tsc",
48 "build:docs": "typedoc src/index.ts",
49 "pretest": "npm run build",
50 "test": "ava test/*",
51 "lint": "eslint .",
52 "checks": "npm test && npm run lint",
53 "refresh": "npm run clean && npm ci",
54 "clean": "git clean -fX .eslintcache docs/build/ lib/ typings/"
55 },
56 "type": "commonjs",
57 "engines": {
58 "node": "^12.20.0 || >=14.13.1"
59 },
60 "types": "./typings/index.d.ts",
61 "dependencies": {
62 "abort-controller": "^3.0.0",
63 "debug": "^4.3.3",
64 "mri": "^1.2.0",
65 "node-fetch": "^2.6.7",
66 "p-timeout": "^4.1.0",
67 "safe-compare": "^1.1.4",
68 "sandwich-stream": "^2.0.2",
69 "typegram": "^3.11.0"
70 },
71 "devDependencies": {
72 "@types/debug": "^4.1.7",
73 "@types/node": "^17.0.14",
74 "@types/node-fetch": "^2.5.12",
75 "@types/safe-compare": "^1.1.0",
76 "@typescript-eslint/eslint-plugin": "^5.10.2",
77 "@typescript-eslint/parser": "^5.10.2",
78 "ava": "^4.0.1",
79 "eslint": "^8.8.0",
80 "eslint-config-prettier": "^8.3.0",
81 "eslint-plugin-ava": "^13.2.0",
82 "eslint-plugin-import": "^2.25.4",
83 "eslint-plugin-node": "^11.1.0",
84 "eslint-plugin-prettier": "^4.0.0",
85 "eslint-plugin-promise": "^6.0.0",
86 "prettier": "^2.5.1",
87 "typedoc": "^0.23.10",
88 "typescript": "^4.7.4"
89 },
90 "keywords": [
91 "telegraf",
92 "telegram",
93 "telegram bot api",
94 "bot",
95 "botapi",
96 "bot framework"
97 ]
98}