add db commands and test payout (worked!)

This commit is contained in:
jwinterm
2025-11-23 13:33:04 -05:00
parent fa61d60bc0
commit deca4a4685
20 changed files with 403 additions and 1277 deletions
+5 -2
View File
@@ -1,5 +1,5 @@
{
"name": "bitrogue",
"name": "wownerogue",
"version": "1.0.0",
"description": "",
"main": "index.js",
@@ -7,7 +7,10 @@
"start": "NODE_ENV=production node index.js",
"dev": "NODE_ENV=development node index.js",
"debug": "NODE_ENV=debug node index.js",
"test": "jest --runInBand"
"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": {