Features: - Lightning Network payments via LNbits integration - Provably fair draws using CSPRNG - Random ticket number generation - Automatic payouts with retry/redraw logic - Nostr authentication (NIP-07) - Multiple draw cycles (hourly, daily, weekly, monthly) - PostgreSQL and SQLite database support - Real-time countdown and payment animations - Swagger API documentation - Docker support Stack: - Backend: Node.js, TypeScript, Express - Frontend: Next.js, React, TailwindCSS, Redux - Payments: LNbits
33 lines
775 B
JSON
33 lines
775 B
JSON
{
|
|
"name": "lightning-lotto-frontend",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev -p ${PORT:-3001}",
|
|
"build": "next build",
|
|
"start": "next start -p ${PORT:-3001}",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@reduxjs/toolkit": "^2.0.1",
|
|
"axios": "^1.6.2",
|
|
"next": "14.0.4",
|
|
"qrcode.react": "^3.1.0",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"react-redux": "^9.0.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "20.10.5",
|
|
"@types/react": "18.2.45",
|
|
"@types/react-dom": "18.2.18",
|
|
"autoprefixer": "^10.4.16",
|
|
"eslint": "8.56.0",
|
|
"eslint-config-next": "14.0.4",
|
|
"postcss": "^8.4.32",
|
|
"puppeteer": "^24.31.0",
|
|
"tailwindcss": "^3.3.6",
|
|
"typescript": "5.3.3"
|
|
}
|
|
}
|