Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.71 KB

CONTRIBUTING.md

File metadata and controls

55 lines (36 loc) · 1.71 KB

Contributing

Issues

Feel free to open an issue, or propose a pull request. To prevent duplication, please look at existing issues before posting a new one.

TL;DR

Command Description
npm test Runs test suite once using Jest.
npm start Runs test once, watch for changes in dev/test files, then re-runs tests automatically when a file changes.
npm run lint Runs ESLint linter.

Getting started

Step 1. Checkout repository

Prerequisites: you need to have git, node (>=6) and npm installed.

git clone https://github.com/yucadoo/twilio-subscription-context.git

(or your clone's Git URL)

Step 2. Install NPM dependencies

npm install

Step 3. Run tests (run-once mode)

npm test

Step 4. Run tests (TDD mode)

npm start

Coding standards

This project follows Airbnb Javascript Style Guide. It is enforced at build time by ESLint.

npm lint

Note: this is automatically run before the test suite by npm test, but not by npm start