2026-11-18 15:18:38 +01:00
|
|
|
{
|
|
|
|
|
"name": "robotclash-server",
|
2026-11-19 01:40:31 +01:00
|
|
|
"version": "0.1.0",
|
2026-11-18 15:18:38 +01:00
|
|
|
"private": true,
|
2026-11-19 01:40:31 +01:00
|
|
|
"description": "Robot Clash backend - auth, saves, ranks, lobby, live PvP, server-authoritative economy.",
|
2026-11-18 15:18:38 +01:00
|
|
|
"main": "app.js",
|
2026-11-19 01:40:31 +01:00
|
|
|
"engines": {
|
|
|
|
|
"node": ">=20.6"
|
|
|
|
|
},
|
2026-11-18 15:18:38 +01:00
|
|
|
"scripts": {
|
|
|
|
|
"start": "node app.js",
|
2026-11-19 01:40:31 +01:00
|
|
|
"dev": "node --env-file=.env --watch app.js",
|
feat(server)!: websocket lobby, server-run matches, server economy, new schema (P1-2, P1-4, P2-1, P2-1b, P2-5)
Replaces the Firebase-style /db facade (rtdb, rules, nodes tree) with explicit REST endpoints and a
WebSocket hub. Login by name or optional e-mail, seed accounts via npm run db:reset.
BREAKING CHANGE: old clients (lobby/netfight over /db) no longer work against this server; database is new.
2026-11-19 01:52:30 +01:00
|
|
|
"test": "node --test \"test/**/*.test.js\"",
|
|
|
|
|
"db:reset": "node scripts/reset-db.js"
|
2026-11-18 15:18:38 +01:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"bcryptjs": "2.4.3",
|
feat(server)!: websocket lobby, server-run matches, server economy, new schema (P1-2, P1-4, P2-1, P2-1b, P2-5)
Replaces the Firebase-style /db facade (rtdb, rules, nodes tree) with explicit REST endpoints and a
WebSocket hub. Login by name or optional e-mail, seed accounts via npm run db:reset.
BREAKING CHANGE: old clients (lobby/netfight over /db) no longer work against this server; database is new.
2026-11-19 01:52:30 +01:00
|
|
|
"better-sqlite3": "11.3.0",
|
|
|
|
|
"express": "4.19.2",
|
|
|
|
|
"jsonwebtoken": "9.0.2",
|
|
|
|
|
"ws": "8.23.0"
|
2026-11-18 15:18:38 +01:00
|
|
|
}
|
|
|
|
|
}
|