Skip to main content
Module

x/telegraf/package.json

Modern Telegram Bot Framework for Node.js
Go to Latest
File
{ "name": "telegraf", "version": "4.15.3", "description": "Modern Telegram Bot Framework", "license": "MIT", "author": "The Telegraf Contributors", "homepage": "https://telegraf.js.org", "repository": { "type": "git", "url": "git+ssh://git@github.com/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": "./typings/scenes/index.d.ts", "default": "./lib/scenes/index.js" }, "./types": { "types": "./types.d.ts", "default": "./types.js" }, "./format": { "types": "./format.d.ts", "default": "./format.js" }, "./utils": { "types": "./typings/utils.d.ts", "default": "./lib/utils.d.ts" } }, "files": [ "bin/*", "src/**/*.ts", "lib/**/*.js", "typings/**/*.d.ts", "typings/**/*.d.ts.map", "types.*", "format.*", "filters.*", "future.*" ], "bin": { "telegraf": "lib/cli.mjs" }, "scripts": { "prepare": "npm run --silent build", "build": "tsc", "build:docs": "typedoc src/index.ts", "pretest": "npm run build", "test": "ava", "lint": "eslint .", "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": "^6.9.1", "abort-controller": "^3.0.0", "debug": "^4.3.4", "mri": "^1.2.0", "node-fetch": "^2.6.8", "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.1.0", "@typescript-eslint/parser": "^6.1.0", "ava": "^5.3.1", "eslint": "^8.45.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-ava": "^14.0.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-promise": "^6.1.1", "fast-check": "^3.12.0", "prettier": "^3.0.3", "typedoc": "^0.25.0", "typescript": "^5.2.2" }, "keywords": [ "telegraf", "telegram", "telegram bot api", "bot", "botapi", "bot framework" ]}