diff --git a/Data/WebUI/package.json b/Data/WebUI/package.json
new file mode 100644
index 0000000..e5784a8
--- /dev/null
+++ b/Data/WebUI/package.json
@@ -0,0 +1,34 @@
+{
+ "name": "borealis-webui",
+ "version": "1.0.0",
+ "private": true,
+ "scripts": {
+ "build": "react-scripts build",
+ "start": "react-scripts start"
+ },
+ "dependencies": {
+ "@mui/material": "7.0.2",
+ "@mui/icons-material": "7.0.2",
+ "@mui/x-tree-view": "7.28.1",
+ "@emotion/react": "11.14.0",
+ "@emotion/styled": "11.14.0",
+ "react-resizable": "3.0.5",
+ "reactflow": "11.11.4",
+ "socket.io-client": "4.8.1",
+ "react-simple-keyboard": "3.8.62",
+ "normalize.css": "8.0.1",
+ "react-scripts": "5.0.1"
+ },
+ "browserslist": {
+ "production": [
+ ">0.2%",
+ "not dead",
+ "not op_mini all"
+ ],
+ "development": [
+ "last 1 chrome version",
+ "last 1 firefox version",
+ "last 1 safari version"
+ ]
+ }
+}
diff --git a/Data/WebUI/src/index.js b/Data/WebUI/src/index.js
index 6037401..c975f08 100644
--- a/Data/WebUI/src/index.js
+++ b/Data/WebUI/src/index.js
@@ -9,16 +9,10 @@ import "normalize.css/normalize.css";
import './Borealis.css'; // Global Theming for All of Borealis
import App from './App.jsx';
-import reportWebVitals from './reportWebVitals';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
-);
-
-// If you want to start measuring performance in your app, pass a function
-// to log results (for example: reportWebVitals(console.log))
-// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
-reportWebVitals();
+);
\ No newline at end of file
diff --git a/Launch-Borealis.ps1 b/Launch-Borealis.ps1
index 4883cda..268d2b4 100644
--- a/Launch-Borealis.ps1
+++ b/Launch-Borealis.ps1
@@ -110,7 +110,7 @@ switch ($choice) {
} else {
Write-Host "`r$($symbols.Info) No custom UI found, using default React app." -ForegroundColor Yellow
}
- # Remove any existing React build folder
+ # Remove any existing React build folders
if (Test-Path "$webUIDestination\build") {
Remove-Item -Path "$webUIDestination\build" -Recurse -Force
}
@@ -134,14 +134,8 @@ switch ($choice) {
Push-Location $webUIDestination
$env:npm_config_loglevel = "silent"
- # Install required NPM packages
+ # Configure packages to install using /Data/WebUI/package.json
npm install --silent --no-fund --audit=false 2>&1 | Out-Null
- npm install --silent react-resizable --no-fund --audit=false | Out-Null
- npm install --silent reactflow --no-fund --audit=false | Out-Null
- npm install --silent @mui/material @mui/icons-material @emotion/react @emotion/styled --no-fund --audit=false 2>&1 | Out-Null
- npm install --silent socket.io-client --no-fund --audit=false | Out-Null
- npm install --silent react-simple-keyboard --no-fund --audit=false | Out-Null
- npm install --silent normalize.css --no-fund --audit=false | Out-Null
Pop-Location
}