Use the Angular CLI and the npm package manager to build and publish your library as an npm package.
Visit the following resources to learn more: