UNPKG

use-telegram

Version:

A TypeScript package for easy integration with Telegram WebApp API

75 lines (74 loc) 1.78 kB
{ "name": "use-telegram", "version": "1.0.10", "description": "A TypeScript package for easy integration with Telegram WebApp API", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "tsc", "dev": "tsc-watch", "watch": "nodemon --exec ts-node src/index.ts", "clean": "rm -rf dist", "prepublishOnly": "npm run clean && npm run build", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "format": "prettier --write src/**/*.ts", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "telegram", "webapp", "api", "typescript", "bot", "telegram-bot", "telegram-webapp", "react", "hooks" ], "author": "", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/yourusername/use-telegram.git" }, "bugs": { "url": "https://github.com/yourusername/use-telegram/issues" }, "homepage": "https://github.com/yourusername/use-telegram#readme", "devDependencies": { "@types/node": "^20.0.0", "@types/react": "^19.1.8", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.0.0", "nodemon": "^3.0.0", "prettier": "^3.0.0", "ts-node": "^10.9.0", "tsc-watch": "^7.1.1", "typescript": "^5.0.0" }, "peerDependencies": { "react": "^18", "react-dom": "^18" }, "engines": { "node": ">=16.0.0" }, "dependencies": { "@types/telegram-web-app": "^7.10.1" } }