Fix build/run errors: add missing dependencies on windows 11, add prune (clean build) script, add "start-dev" script with increased verbosity, configure output for webpack, configure basic file-based logging, fix control's export

This commit is contained in:
sayhiben
2024-08-10 22:02:05 -07:00
parent db7338bcf3
commit a3ac672769
6 changed files with 75 additions and 5 deletions

View File

@@ -5,8 +5,10 @@
"main": "src/index.js",
"scripts": {
"build": "webpack",
"prune": "rm -rf dist",
"start": "npm run build -- --stats=errors-only && electron dist",
"start-local": "npm run build -- --stats=errors-only && electron dist --control.address=http://localhost:4444 --control.username=streamwall --control.password=local-dev",
"start-dev": "NODE_DEBUG=* npm run build -- --stats=verbose && NODE_DEBUG=* electron dist --enable-logging --control.address=http://localhost:4444 --control.address=http://localhost:4444 --control.username=streamwall --control.password=local-dev",
"test-full": "jest",
"test": "jest --ci --reporters=default --reporters=jest-junit --testPathIgnorePatterns=src/node/server.test.js --coverage"
},
@@ -56,6 +58,7 @@
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.2",
"babel-plugin-styled-components": "^2.1.1",
"bufferutil": "^4.0.8",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.3",
"file-loader": "^6.2.0",
@@ -66,6 +69,7 @@
"prettier": "2.8.7",
"style-loader": "^3.3.2",
"supertest": "^6.3.3",
"utf-8-validate": "^5.0.10",
"webpack": "^5.79.0",
"webpack-cli": "^5.0.1"
},