Kleros Juror Front
- Clone this repo.
- Install and set up the MetaMask chrome extension.
- Configure MetaMask on the Kovan Test Network.
- Run
yarn
to install dependencies and thenyarn start
to start the dev server.
yarn run prettify
- Apply prettier to the entire project.yarn run lint:scss
- Lint the entire project's .scss files.yarn run lint:js
- Lint the entire project's .js files.yarn run lint:scss --fix
- Fix fixable linting errors in .scss files.yarn run lint:js --fix
- Fix fixable linting errors in .js files.yarn run lint
- Lint the entire project's .scss and .js files.yarn test
- Run the jest test suites + storyshots.yarn run storybook
- Start the storybook.yarn run cz
- Run commitizen.yarn run build
- Create a production build.yarn run build:analyze
- Analyze the production build using source-map-explorer.
Storybook Storyshots for components
and jest integration tests for containers
.