@echo off cd %~dp0 :: Move to the nn-search-ui directory cd ..\cb-ui :: Run npm build call npm run build-hf :: Copy package.json to the script directory copy package.json %~dp0 copy package-lock.json %~dp0 :: Copy the contents of ./build to the script directory xcopy /s /e /y build %~dp0\build echo Build completed. cd %~dp0