Court
The Kleros Court user interface.
yarn
to install dependencies and then yarn 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.