mirror of
https://github.com/Such-Software/wownerogue.git
synced 2026-10-19 07:08:33 +02:00
- Add alertService.js with Resend email alerts for low balance, disconnects, failed payouts - Update admin.html with full dashboard UI (stats, charts, tables, payout retry) - Add wallet balance to /health endpoint - Add getBalance() and checkTransactionStatus() to walletRPCService - Fix payoutRetryService query and add alert integration - Update .env.example with alert config (RESEND_API_KEY, ADMIN_EMAIL, etc) - Reorganize docs: move TODO.md, LOGS_AND_BACKUP.md to docs/ - Extract deployment guide from README to docs/DEPLOY.md - Consolidate TEMP_TODO.md into docs/TODO.md
48 lines
1.1 KiB
JSON
48 lines
1.1 KiB
JSON
{
|
|
"name": "wownerogue",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "NODE_ENV=production node index.js",
|
|
"dev": "NODE_ENV=development node index.js",
|
|
"debug": "NODE_ENV=debug node index.js",
|
|
"test": "jest --runInBand",
|
|
"db:create": "node scripts/setup_db.js",
|
|
"db:drop": "node scripts/setup_db.js drop",
|
|
"db:reset": "npm run db:drop && npm run db:create"
|
|
},
|
|
"config": {
|
|
"debug": {
|
|
"enabled": true,
|
|
"console_logging": true,
|
|
"debug_hotkeys": true,
|
|
"simulated_blocks": false
|
|
},
|
|
"production": {
|
|
"enabled": true,
|
|
"console_logging": false,
|
|
"debug_hotkeys": false,
|
|
"simulated_blocks": false
|
|
}
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"axios": "^1.9.0",
|
|
"dotenv": "^16.0.3",
|
|
"express": "^4.21.3",
|
|
"pg": "^8.15.5",
|
|
"node-pg-migrate": "^8.0.4",
|
|
"socket.io": "^4.8.1",
|
|
"socket.io-client": "^4.8.1",
|
|
"uuid": "^9.0.0"
|
|
,"qrcode": "^1.5.3",
|
|
"resend": "^4.0.0",
|
|
"tweetnacl": "^1.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^29.7.0"
|
|
}
|
|
}
|