To run this project, you will need:
- Node.js >= v8.10.0, use nvm - install instructions
- Yarn >= v1.16.0 - install instructions
We use the Storybook as the main way to develop React InstantSearch.
yarn
yarn startGo to http://localhost:6006.
The applications won't reload on code change. To enable the watch mode, run the following command in another tab.
yarn watchThe code for React InstantSearch is located in packages.
We have unit tests written with Jest:
Single run:
yarn testWatch mode:
yarn test:watchyarn lintFiles are automatically formatted with Prettier.
yarn releaseyarn release --betaAppend -beta.x where x is a number to the version for beta, so 4.0.0-beta.2 for example.
yarn docs:deploy-productionyarn docs:deploy-previewThis uses netlify.