Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Latest commit

 

History

History
41 lines (31 loc) · 1.7 KB

CONTRIBUTING.md

File metadata and controls

41 lines (31 loc) · 1.7 KB

Contributing

First of all, thank you for contributing. It’s appreciated. This guide details how to use issues and pull requests to improve this project.

Running

Watch for file changes then lint and test: npm start

Babelify everything in src output to lib: npm run build

Making changes

  • Create a topic branch from where you want to base your work.
  • Make commits of logical units.
  • Make sure you have added the necessary tests for your changes.

Branching

When creating a branch. Use the issue number(without the '#') as the prefix and add a short title, like: 1-commit-message-example

Commit message

Make sure your commit messages follow the Angular's format, try npm run commit:

    docs(contributing): make the example in contributing guidelines concrete

    The example commit message in the contributing.md document is not a concrete example. This is a problem because the
    contributor is left to imagine what the commit message should look like
    based on a description rather than an example. Fix the
    problem by making the example concrete and imperative.

    Closes #1
    Breaks having an open issue

Creating an Issue

Before you create a new issue:

  • Check the issues on Github to ensure that one doesn't already exist.
  • Clearly describe the issue, there is an ISSUE_TEMPLATE to guide you.

Tests

We use tape for unit and integration test. You can use Cucumber for acceptance tests.

We try to maintain a code coverage of 100%. Please ensure you do so too 😉