See Release Add the Bootstrap JavaScript components · gohugoio/hugo-mod-bootstrap-scss · GitHub
Also, a little tool I write to get to the above, here is a little tool which may be useful for others who want to copy a NPM package to GitHub (e.g. for a Hugo module).