# Run all tests
npm run test
# Watch mode (also generate code coverage into /coverage/ directory)
npm run test:watch
The linter will run over src/**/*.ts
and examples/**/*.{ts,js}
files.
npm run lint
npm run build
builds the final javascript, typescript declarations, and typedoc documentation into/dist/
.npm run build:all
builds all of the above, plus the public website.npm run build:typedocs
only build typedoc markdown (then used for generating API pages)
npm run build
npm run build:docs:watch
: this will be live except fro the API section, because it needs the typedoc to also run on changes. (Todo: find a way to refresh typedoc-generated) markdown, then rerunbuild:docs
).
Caporal is using commitizen, meaning that when you commit, you'll be prompted to fill out any required commit fields, hence generating conventional-changelog compatible commit messages.
Please pay attention to your commit messages as they are used to generate changelog entries.