UNPKG

2.31 kBJSONView Raw
1{
2 "name": "telegraf",
3 "version": "4.4.2",
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 ".": "./lib/index.js"
18 },
19 "files": [
20 "bin/*",
21 "src/**/*.ts",
22 "lib/**/*.js",
23 "typings/**/*.d.ts",
24 "typings/**/*.d.ts.map"
25 ],
26 "bin": {
27 "telegraf": "bin/telegraf"
28 },
29 "scripts": {
30 "prepare": "npm run --silent build",
31 "build": "tsc --build docs/examples",
32 "build:docs": "typedoc src/index.ts",
33 "pretest": "npm run build",
34 "test": "ava test/*",
35 "lint": "eslint .",
36 "checks": "npm test && npm run lint",
37 "refresh": "npm run clean && npm ci",
38 "clean": "git clean -fX .eslintcache docs/build/ lib/ typings/"
39 },
40 "type": "commonjs",
41 "engines": {
42 "node": "^12.20.0 || >=14.13.1"
43 },
44 "types": "./typings/index.d.ts",
45 "dependencies": {
46 "abort-controller": "^3.0.0",
47 "debug": "^4.3.1",
48 "minimist": "^1.2.5",
49 "module-alias": "^2.2.2",
50 "node-fetch": "^2.6.1",
51 "p-timeout": "^4.1.0",
52 "safe-compare": "^1.1.4",
53 "sandwich-stream": "^2.0.2",
54 "typegram": "^3.4.2"
55 },
56 "devDependencies": {
57 "@types/debug": "^4.1.5",
58 "@types/node": "^14.14.20",
59 "@types/node-fetch": "^2.5.7",
60 "@types/safe-compare": "^1.1.0",
61 "@typescript-eslint/eslint-plugin": "^4.16.1",
62 "@typescript-eslint/parser": "^4.16.1",
63 "ava": "^3.15.0",
64 "eslint": "^7.17.0",
65 "eslint-config-prettier": "^7.1.0",
66 "eslint-config-standard": "^16.0.2",
67 "eslint-config-standard-with-typescript": "^19.0.1",
68 "eslint-plugin-ava": "^11.0.0",
69 "eslint-plugin-import": "^2.22.1",
70 "eslint-plugin-markdown": "^1.0.2",
71 "eslint-plugin-node": "^11.1.0",
72 "eslint-plugin-prettier": "^3.3.1",
73 "eslint-plugin-promise": "^4.2.1",
74 "eslint-plugin-standard": "^4.1.0",
75 "prettier": "2.2.1",
76 "typedoc": "^0.22.1",
77 "typescript": "~4.4.2"
78 },
79 "keywords": [
80 "telegraf",
81 "telegram",
82 "telegram bot api",
83 "bot",
84 "botapi",
85 "bot framework"
86 ]
87}