UNPKG

@ptkdev/node-telegram-bot-boilerplate

Version:

Create your telegram bot with this friendly boilerplate. Use this repository as template for your bot

106 lines (105 loc) 4.21 kB
{ "name": "@ptkdev/node-telegram-bot-boilerplate", "displayName": "Node Telegram BOT Boilerplate", "description": "Create your telegram bot with this friendly boilerplate. Use this repository as template for your bot", "version": "1.0.20211121", "main": "dist/core/bot.js", "publishConfig": { "access": "public" }, "author": "Patryk Rzucidło [@ptkdev] <support@ptkdev.io> (https://ptk.dev)", "license": "MIT", "license-docs": "CC BY 4.0", "license-translations": "CC BY 4.0", "license-images": "CC BY-NC 4.0", "homepage": "https://github.com/ptkdev-boilerplate/node-telegram-bot-boilerplate", "repository": { "type": "git", "url": "https://github.com/ptkdev-boilerplate/node-telegram-bot-boilerplate.git" }, "bugs": { "url": "https://github.com/ptkdev-boilerplate/node-telegram-bot-boilerplate/issues" }, "engines": { "node": ">=14.0.0" }, "scripts": { "init": "npm install && husky install", "init:token": "ts-node scripts/configs.ts && ts-node scripts/init.ts", "init:certs": "ts-node scripts/initCerts.ts", "setup": "ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit", "start": "node dist/core/bot.js", "start-pm2": "pm2 start .pm2-process.json", "start-docker": "pm2-runtime .pm2-docker.json", "stop-pm2": "pm2 stop .pm2-process.json", "dev": "ts-node scripts/configs.ts && ts-node scripts/debug.ts --enable && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node --compiler typescript app/core/bot.ts'", "build": "tsc", "release": "ts-node scripts/configs.ts && ts-node scripts/debug.ts --disable && npm run build && ttsc --declaration --emitDeclarationOnly", "test": "jest app", "docs": "git submodule update --recursive && markserv ./README.md", "lint": "npm run lint-prettify && eslint . --cache --ext .ts,.js", "lint-fix": "npm run lint-prettify && eslint . --cache --ext .ts,.js --fix", "lint-prettify": "prettier --write --ignore-unknown '**/*.{ts,md,json}'", "git-set-upstream": "git remote add upstream git@github.com:ptkdev-boilerplate/node-telegram-bot-boilerplate.git && git fetch upstream", "git-pull-upstream": "git pull upstream main && git pull upstream beta && git pull upstream nightly", "git-pull": "git pull --recursive", "git-ignore-reset": "git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"", "npm-publish-main": "git checkout main && npm publish", "npm-publish-beta": "git checkout beta && npm publish --tag beta", "npm-publish-nightly": "git checkout nightly && npm publish --tag nightly", "contributors-generate": "all-contributors generate", "all-shields-generate": "all-shields-generate", "pre-commit": "npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test", "pkg-clean": "rm -rf node_modules package-lock.json && npm install && husky install", "pkg-update": "npm update", "pkg-upgrade": "npx npm-check-updates -u && npm install && husky install", "prepare": "ts-patch install -s" }, "dependencies": { "express": "^4.17.1", "lowdb": "^1.0.0", "localtunnel": "^2.0.2", "telegraf": "^4.4.2" }, "devDependencies": { "pm2": "^4.5.6", "@ptkdev/all-shields-cli": "^2.0.2", "@types/jest": "^26.0.23", "@types/express": "^4.17.13", "@types/localtunnel": "^2.0.1", "@types/lowdb": "^1.0.9", "@types/node": "^15.0.1", "@types/shelljs": "^0.8.8", "@typescript-eslint/eslint-plugin": "^4.22.0", "@typescript-eslint/parser": "^4.22.0", "all-contributors-cli": "^6.20.0", "eslint": "^7.25.0", "eslint-plugin-jest": "^24.3.6", "eslint-plugin-jsdoc": "^32.3.3", "husky": "^6.0.0", "jest": "^26.6.3", "json": "^11.0.0", "markserv": "^1.17.4", "nodemon": "^2.0.7", "prettier": "^2.2.1", "replace-in-file": "^6.2.0", "shelljs": "^0.8.4", "ts-jest": "^26.5.5", "ts-node": "^9.1.1", "ts-patch": "^2.0.1", "typescript": "^4.2.4", "typescript-transform-paths": "^2.2.3", "yargs": "^16.2.0" }, "keywords": [ "ptkdev", "node", "node-module", "node-library", "node-telegram-bot-boilerplate", "node-library-boilerplate", "boilerplate", "github-template" ], "contributors": [] }