Arbitrable payment front
- Clone this repo.
- Install and set up the MetaMask chrome extension.
- 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>
- Run
yarn
to install dependencies and thenyarn start
to start the dev server.
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.
Storybook Storyshots for components
and jest integration tests for containers
.