Court
The Kleros Court user interface.
- Clone this repo.
- Install and set up the MetaMask chrome extension.
- Configure MetaMask on the Goerli Test Network.
- Run
yarn
to install dependencies and thenyarn start
to start the dev server.
To allow view-only mode, you can the REACT_APP_WEB3_FALLBACK_URL variable to a provider of your choice. Example: REACT_APP_WEB3_FALLBACK_URL=wss://mainnet.infura.io/ws/v3/
yarn run lint:js
- Lint the all .js/jsx files in the project.yarn run lint:css
- Lint the all .css/less files in the project.yarn run lint
- Lint the entire project.yarn run fix:js
- Fix fixable linting errors in .js/jsx files.yarn run fix:css
- Fix fixable linting errors in .css/less files.yarn run fix
- Fix fixable linting errors in all files in the project.yarn run build
- Create a production build.yarn run build:analyze
- Analyze the production build using source-map-explorer.