You can create your own schematic collections to integrate your library with the Angular CLI. These collections are classified as 3 main schematics,
ng add
ng generate
ng generate @angular/material:table
ng update
ng update @angular/material