Change to the root directory of the cloned repository.
First install the dependencies with: npm install
Various npm
scripts are provided to build, check code quality and test. Please invoke:
npm run build
to build the source code tolib/
directorynpm run format
to format the codenpm run lint
to run the linter over the codenpm run pack
to bundle the packages indist/
directorynpm run test
to run the test suitenpm run all
to run all the checks and build
I develop using the feature branches, see this section of the Git book: https://git-scm.com/book/en/v2/Git-Branching-Branching-Workflows.
Please prefix the branch with your user name
(e.g., mristin/Add-some-feature
).
The commit messages follow the guidelines from from https://chris.beams.io/posts/git-commit:
- Separate subject from body with a blank line
- Limit the subject line to 50 characters
- Capitalize the subject line
- Do not end the subject line with a period
- Use the imperative mood in the subject line
- Wrap the body at 72 characters
- Use the body to explain what and why (instead of how)
If you would like to contribute in code, please fork the repository and create the feature branch in your forked repository. See this Github tuturial for more guidance.