Could you create a CutomElement Manifest for your component? And include it in the npm package? https://github.com/webcomponents/custom-elements-manifest