Reputation: 1740
I'm developing a component library which I don't want to share in npmjs, is there any way to share my angular library with other angular projects with out sharing it with NPM.
Upvotes: 9
Views: 3633
Reputation: 355
The best way - to have your own npm registry and publish in it. It's often in medium or big companies.
Easier way - to publish your package library in git repository and add lobrary as package with git source. You can see how to do it in npm documentation. https://docs.npmjs.com/files/package.json#dependencies
Upvotes: 0
Reputation: 263
yes try verdaccio which stores ur packaged library in your local storage when u npm i libraryname first it searches for library in local storage and then searches for public npm https://verdaccio.org/docs/en/installation
Upvotes: 2