Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 1.26 KB

Development.md

File metadata and controls

68 lines (42 loc) · 1.26 KB

Meritoo Common Frontend

Common & useful resources related to frontend

Requirements

  • Docker
  • Your favourite IDE :)

Getting started

Build, create and start Docker's containers by running command:

docker-compose up -d

Install or remove package

Yarn is used as package manager.

  1. To install, add new package to project run:

    docker-compose run yarn add <package-name>
  2. To uninstall, remove package from project run:

    docker-compose run yarn remove <package-name>

Looking for other Yarn's commands?

Tests running

Jest is used as Testing Framework.

Fast (without code coverage)

docker-compose run yarn test

With code coverage

docker-compose run yarn test --coverage

Report with code coverage is stored in reports/jest/code_coverage directory.

With code coverage & without warnings

docker-compose run yarn test --coverage --silent

Watch files for changes and rerun all tests

docker-compose run yarn test-watch

Looking for other Jest's CLI arguments?

‹ Back to Readme