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