tests started and tuning

This commit is contained in:
Boki 2026-02-11 15:17:44 -05:00
parent b8f5637c49
commit 641c87121a
17 changed files with 391 additions and 18 deletions

View file

@ -8,7 +8,10 @@
"dev": "dotnet build tools/OcrDaemon -c Release && tsx src/index.ts",
"build": "tsc",
"build:daemon": "dotnet build tools/OcrDaemon -c Release",
"start": "node dist/index.js"
"start": "node dist/index.js",
"stop:daemon": "taskkill /IM OcrDaemon.exe /F 2>nul || exit /b 0",
"test:ocr": "taskkill /IM OcrDaemon.exe /F 2>nul & dotnet build tools/OcrDaemon -c Release && echo {\"cmd\":\"test\"} | tools\\OcrDaemon\\bin\\Release\\net8.0-windows10.0.19041.0\\OcrDaemon.exe",
"tune:ocr": "taskkill /IM OcrDaemon.exe /F 2>nul & dotnet build tools/OcrDaemon -c Release && echo {\"cmd\":\"tune\"} | tools\\OcrDaemon\\bin\\Release\\net8.0-windows10.0.19041.0\\OcrDaemon.exe"
},
"dependencies": {
"chokidar": "^4.0.3",