Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

kleros/arbitrable-payment-front

Repository files navigation

Arbitrable payment front

JavaScript Style Guide Build Status Dependencies Dev Dependencies Tested with Jest Coverage Status Conventional Commits Commitizen Friendly Styled with Prettier

Get Started

  1. Clone this repo.
  2. Install and set up the MetaMask chrome extension.
  3. Create a .env file in the root of the repo.
# Development
REACT_APP_DEV_ETHEREUM_PROVIDER=http://localhost:8545

# Production
REACT_APP_PROD_ETHEREUM_PROVIDER=<provider>
  1. Run yarn to install dependencies and then yarn start to start the dev server.

Other Scripts

  • yarn run prettify - Applies prettier to the entire project.
  • yarn run lint - Lints the entire project.
  • yarn run lint:fix - Fixes fixable linting errors.
  • yarn test - Runs the jest test suites + storyshots.
  • yarn run storybook - Starts the storybook.
  • yarn run cz - Runs commitizen.
  • yarn run build - Creates a production build.
  • yarn run build:analyze - Analyzes the production build using source-map-explorer.

Testing

Storybook Storyshots for components and jest integration tests for containers.