How to publish Ionic 4 components on NPM?

Good evening,

I have created some custom components in my Ionic 4 app and now I would like to publish them on a private NPM to share them for other Mobile apps and Web apps so I can reuse them.

Is there a way to publish only my “components” folder to NPM?

I also took a look to Stencil but I see that I need to create components in vanilla Javascript, instead to use Ionic 4.

Thanks in advance for your help and for your suggestions!