104 lines
2.5 KiB
JSON
104 lines
2.5 KiB
JSON
{
|
|
"name": "telegraf",
|
|
"version": "4.10.0",
|
|
"description": "Modern Telegram Bot Framework",
|
|
"license": "MIT",
|
|
"author": "Vitaly Domnikov <oss@vitaly.codes>",
|
|
"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",
|
|
"require": "./lib/index.js",
|
|
"import": "./lib/index.js"
|
|
},
|
|
"./future": {
|
|
"types": "./future.d.ts",
|
|
"require": "./future.js",
|
|
"import": "./future.js"
|
|
},
|
|
"./types": {
|
|
"types": "./types.d.ts",
|
|
"require": "./types.js",
|
|
"import": "./types.js"
|
|
},
|
|
"./format": {
|
|
"types": "./format.d.ts",
|
|
"require": "./format.js",
|
|
"import": "./format.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"bin/*",
|
|
"src/**/*.ts",
|
|
"lib/**/*.js",
|
|
"typings/**/*.d.ts",
|
|
"typings/**/*.d.ts.map",
|
|
"types.*",
|
|
"format.*",
|
|
"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 test/*",
|
|
"lint": "eslint .",
|
|
"checks": "npm test && npm run lint",
|
|
"refresh": "npm run clean && npm ci",
|
|
"clean": "git clean -fX .eslintcache docs/build/ lib/ typings/"
|
|
},
|
|
"type": "commonjs",
|
|
"engines": {
|
|
"node": "^12.20.0 || >=14.13.1"
|
|
},
|
|
"types": "./typings/index.d.ts",
|
|
"dependencies": {
|
|
"abort-controller": "^3.0.0",
|
|
"debug": "^4.3.3",
|
|
"mri": "^1.2.0",
|
|
"node-fetch": "^2.6.7",
|
|
"p-timeout": "^4.1.0",
|
|
"safe-compare": "^1.1.4",
|
|
"sandwich-stream": "^2.0.2",
|
|
"typegram": "^3.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/debug": "^4.1.7",
|
|
"@types/node": "^17.0.14",
|
|
"@types/node-fetch": "^2.5.12",
|
|
"@types/safe-compare": "^1.1.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
"@typescript-eslint/parser": "^5.10.2",
|
|
"ava": "^4.0.1",
|
|
"eslint": "^8.8.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-ava": "^13.2.0",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-promise": "^6.0.0",
|
|
"prettier": "^2.5.1",
|
|
"typedoc": "^0.23.10",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"keywords": [
|
|
"telegraf",
|
|
"telegram",
|
|
"telegram bot api",
|
|
"bot",
|
|
"botapi",
|
|
"bot framework"
|
|
]
|
|
}
|