The following commands are available through npm run
or yarn
:
Command | Purpose |
---|---|
build | Build library using ng-packagr |
lint | Verify code matches linting rules |
start | Run development server for demo application (uses Angular CLI) |
test | Execute unit tests |
- Update
package.json
andsrc/lib/package.json
and changeversion
and add any contributors - Update the
CHANGELOG.md
npm run build
cd dist
npm publish
git commit -a -m 'Release VERSION'
git tag <version> && git push && git push --tags
- create a tag and push all changes to GitHub- Create a new release with CHANGELOG details