Overriding a JS file

Hello Team,
We have a requirement where we have to override the grid.js and list.js from the webshop and do the necessary changes.

How to override the js files from webshop to the custom app.

Path:
webshop/webshop/public/js/product_ui/grid.js
webshop/webshop/public/js/product_ui/list.js

https://frappeframework.com/docs/user/en/python-api/hooks

Refer hooks

Thanks for the reply

We are aware of frappe js file overriding
But the concern is regarding webshop js file