An example repository for learning how to build your own Angular 2 library.
Learn how to setup a library namespace, how to build it, version it and publish it into npm.
See further details in this blog post - How to create an Angular 2 component library
npm install
npm run build
npm run watch