Backend: - Add configurable draw cycle settings (minutes/hourly/daily/weekly/custom) - Add CYCLE_TYPE, CYCLE_INTERVAL_*, CYCLE_DAILY_TIME, CYCLE_WEEKLY_* env vars - Add SALES_CLOSE_BEFORE_DRAW_MINUTES and CYCLES_TO_GENERATE_AHEAD - Fix SQLite parameter issue in scheduler Frontend: - Add 'Save This Link' section with copy button on ticket status page - Improve draw animation to show immediately when draw starts - Show 'Waiting for next round...' instead of 'Drawing Now!' after draw - Hide Buy Tickets button when waiting for next round - Skip draw animation if no tickets were sold - Keep winner screen open longer (15s) for next cycle to load - Auto-refresh to next lottery cycle after draw Telegram Bot: - Various improvements and fixes
39 lines
893 B
JSON
39 lines
893 B
JSON
{
|
|
"name": "lightning-lotto-telegram-bot",
|
|
"version": "1.0.0",
|
|
"description": "Telegram bot for Lightning Lottery - Buy tickets, check wins, and receive payouts via Lightning",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"dev": "ts-node src/index.ts",
|
|
"dev:watch": "nodemon --exec ts-node src/index.ts"
|
|
},
|
|
"keywords": [
|
|
"telegram",
|
|
"bot",
|
|
"lightning",
|
|
"lottery",
|
|
"bitcoin"
|
|
],
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"axios": "^1.6.2",
|
|
"dotenv": "^16.3.1",
|
|
"ioredis": "^5.3.2",
|
|
"node-telegram-bot-api": "^0.64.0",
|
|
"qrcode": "^1.5.3",
|
|
"winston": "^3.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.4",
|
|
"@types/node-telegram-bot-api": "^0.64.2",
|
|
"@types/qrcode": "^1.5.5",
|
|
"nodemon": "^3.0.2",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.3.3"
|
|
}
|
|
}
|
|
|
|
|