I created a Vue.js library that measures password strength. I created the bundle for NPM with this command:
ue-cli-service build --target lib --name passwordM