Skip to content

kleros/court

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Court

JavaScript Style Guide Netlify Status Tested with Jest Conventional Commits Commitizen Friendly Styled with Prettier

The Kleros Court user interface.

Get Started

  1. Clone this repo.
  2. Install and set up the MetaMask chrome extension.
  3. Configure MetaMask on the Goerli Test Network.
  4. Run 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/

Other Scripts

  • 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.