FinlexInfoBox (@finlexlabs/info-box)
Library Name: finlex-info-box Package Name: @finlexlabs/info-box Repo Name: fx-ng-components
Steps to Build & Publish Library
Package Renaming
Go to ./src/finlex-info-box/package.json
Rename package name from @fx-ng-components/finlex-info-box
to @finlexlabs/info-box
Build
npm run build:info-box
It will build finlex-confirm-dialog using ng-packagr.
The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build:info-box
, go to the dist folder cd dist/finlex-info-box
and run npm publish
.