Copy package to the packages/wrapper folder of the library skeleton then run the commands below.
Code scaffolding
Run ng generate component component-name --project wrapper to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project wrapper.
Note: Don't forget to add --project wrapper or else it will be added to the default project in your angular.json file.
Build
Run ng build wrapper to build the project. The build artifacts will be stored in the dist/ directory.
Publishing
After building your library with ng build wrapper, go to the dist folder cd dist/wrapper and run npm publish.
Running unit tests
Before the test can be performed install @angular-package/testing with command:
npmi@angular-package/testing--no-save
Run ng test wrapper to execute the unit tests via Karma.