Skip to content

Latest commit

 

History

History
85 lines (81 loc) · 4.07 KB

CONTRIBUTING.md

File metadata and controls

85 lines (81 loc) · 4.07 KB

Contributing

Table of Contents

Code of Conduct

Before contributing, please read our code of conduct

Getting Setup

npm install # installs dependencies for wobbly

Scripts

Run tests

npm test

Run tests in jest --watch mode

npm run test:watch

Run tests, check package size, and report coverage

npm run test:ci

Check package size limit

npm run size

Run webpack in --watch mode for development

npm start

Build a production bundle

npm run build

Format source code

npm run prettier

Lint source code

npm run lint

Generate documentation site

npm run documentation

NOTE: husky is used to run a precommit hook. This hook does the following:

Commits

All commit messages must follow the Conventional Commits Specification which can be described like so:


type(scope?): subject

body? footer?

Commitlint is setup to enforce this convention.

Commitlint Rules:

Example:


fix(Next): Add more cat pics
Closes #123, Closes #456

AUTHORS file

If you would like, when making your PR, add yourself to the AUTHORS file by appending Name <githubusername>. Doing so will add your name to contributor details list in the Contributing section.