This package is listed in [[Angular]] default page. 

Angular Package Format

title: Build an Angular library from TypeScript sources and create a distribution-ready npm package
collapse: true
 
1. Create package.json like below ![[Pasted image 20220602160826.png]]
	```ad-note
	 `public_api.ts` is the entry file to the library's sources and must be placed next to `package.json`
	```
 
2. `$schema` enables JSON editing support (auto-completion for configuration) in IDEs.
 Add it in npm script:
 ```json 
 {
  "scripts": {
    "build": "ng-packagr -p package.json"
  }
}
title: How is it working in VI Library?
 
There is an empty public-api.ts
![[Pasted image 20220602163350.png]]
 
- ![[Pasted image 20220602163755.png]]
-