Fixed minor errors in build scripts

This commit is contained in:
Davide Passoni 2024-07-25 12:35:17 +02:00
parent 473f16dda0
commit c0b43c916e
3 changed files with 5 additions and 4 deletions

View File

@ -28,10 +28,10 @@
"tcp-ping-port": "^1.0.1",
"uuid": "^9.0.1",
"ws": "^8.18.0",
"yargs": "^17.7.2"
"yargs": "^17.7.2",
"cors": "^2.8.5"
},
"devDependencies": {
"cors": "^2.8.5",
"ts-node": "^10.9.2",
"typescript": "^5.5.3"
}

View File

@ -1,7 +1,8 @@
npm run tsc
call npm run tsc
echo D|xcopy /Y /S /E .\public ..\..\build\frontend\public
echo D|xcopy /Y /S /E .\views ..\..\build\frontend\cert
echo D|xcopy /Y /S /E .\build ..\..\build\frontend\build
echo F|xcopy /Y .\app.js ..\..\build\frontend\app.js
echo F|xcopy /Y .\client.js ..\..\build\frontend\client.js

View File

@ -9,7 +9,7 @@ cd frontend
cd react
call npm install
call npm build-release
call npm run build-release
cd ..
cd server