Skip to content

Latest commit

 

History

History
83 lines (54 loc) · 1.34 KB

CONTRIBUTING.md

File metadata and controls

83 lines (54 loc) · 1.34 KB

React InstantSearch logo

Requirements

To run this project, you will need:

Development

We use the documentation website as the main way to develop React InstantSearch.

yarn
yarn start

Go to http://localhost:3000.

Code

The code for React InstantSearch is located in packages/react-instantsearch.

Test

We have unit tests written with Jest:

Single run and linting:

yarn test

Watch mode:

yarn dev # unit tests watch mode, no lint

Lint

yarn lint

Files are automatically formatted with prettier.

Release

npm run release

Beta release

npm run release -- --beta

Append -beta.x where x is a number to the version for beta, so 4.0.0-beta.2 for example.

Update docs

yarn docs:deploy-production

Deploy a preview of docs

yarn docs:deploy-preview

This uses netlify.

See next release changelog

yarn changelog