See also

Building an Angular 4 Component Library with the Angular CLI and ng-packagr

Source Code

You can find the source code in the ng-framework repository.

Don't forget to change the package names and NPM scopes if you intend publishing projects to NPM.