Package Scripts
At any point of time you can learn more about available scripts by using npm run explain | yarn explain.
build- Clean and build(bundle) the project with rollupclean- Clean dist foldercommit- (alias) czcoverage:ci- Generate reports for CIcoverage:report- Generate reports without displaying summarycoverage- Run tests, then create and display generated report(always finishes successfully)cz- Add commit matching Conventional Commit specificationdocs:watch- Generate API markdown documentation that is outputted to Docusaurus in watch mode(so it can previewed on-fly(new files require reload of Docusaurus!))docs:clean- Remove auto-generated API from documentationdocs:build- Generate API markdown documentation that is outputted to Docusaurus and build as static files ready for publishdocs- Generates documentation and run it in browserformat- Try to automatically fix any formatting problemsexplain- Display information about the package scripts(info is already taken by yarn)lint- Try to automatically fix any linting problemsprepare- One-step: test(with coverage), lint, clean, build, and prep a releasesetup- Setup the template for new projectsemantic-release- Create release with semantic-releasereset- Delete all untracked files and reset the repo to the last committest:coverage- Run tests, then crete and display generated report(fails if requirement is not met)test:format- Validate formattingtest:integration:watch- Watch and rebuild the project on save, then rerun relevant integration teststest:integration- Runs integrations teststest:lint- Validate lintingtest:unit:watch- Watch and rebuild the project on save, then rerun relevant unit teststest:unit- Runs unit teststest:watch- Watch and rebuild the project on save, then rerun relevant teststest- Run tests of the whole projec