refactor frontend and fix debug mode

This commit is contained in:
jwinterm
2025-05-29 13:40:44 -04:00
parent de3eed792b
commit f02e16272e
28 changed files with 422 additions and 376 deletions
+17 -1
View File
@@ -4,9 +4,25 @@
"description": "",
"main": "index.js",
"scripts": {
"start": "node index.js",
"start": "NODE_ENV=production node index.js",
"dev": "NODE_ENV=development node index.js",
"debug": "NODE_ENV=debug node index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"config": {
"debug": {
"enabled": false,
"console_logging": false,
"debug_hotkeys": false,
"simulated_blocks": false
},
"production": {
"enabled": true,
"console_logging": false,
"debug_hotkeys": false,
"simulated_blocks": false
}
},
"author": "jw",
"license": "ISC",
"dependencies": {