Install npm package while installing custom app in frappe cloud

I have installed a package yarn add livekit-client. now i want to install app in my frappe cloud bench. What script i should write so that the package gets installed when app gets installed.