Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.8 KB

CONTRIBUTING.md

File metadata and controls

46 lines (29 loc) · 1.8 KB

Contributing to HSU

HSU comes complete with an isolated development environment. You aren't required to use it, if you already have what you get with the development environment then you're already good to go. All you need is:

Once you've created the virtual machine you'll have an environment complete with:

  • Node.js
  • NPM

There are files for editors that should keep the file formatting consistent with what already exists in this repository.

Getting started

Follow these steps to get started with hacking on HSU.

  1. Star and fork this repository on GitHub.
  2. Clone your forked repository git clone https://github.com/smebberson/hsu.git ./hsu.
  3. Start the virtual machine with vagrant up (this might take 10 minutes or so).

With that, you'll have a virtual machine up and running.

Development

The entire module lives within ./index.js. All tests can be found in test/test.js.

Testing

To run tests use npm test. To show test coverage use npm run coverage. All tests are written using mocha and chai. Please write unit tests for new code you create.

Submitting changes

Please send a GitHub pull request with a clear list of what you've done (read more about pull requests). Test coverage is at 100% and ideally, your pull requests will keep it as such.