This directory contains the Frontend for Caedus Covid.
- Node.js 13.x
To run the Frontend on its own, run:
docker-compose run frontend
We use Yarn to manage dependencies. The most common Yarn commands and their NPM equivalents are shown below.
Yarn command | npm command |
---|---|
yarn add <packages> |
npm install <packages> |
yarn add --dev <packages> |
npm install --save-dev <packages> |
yarn remove <packages> |
npm uninstall <packages> |
yarn |
npm install |
yarn <command> |
npm run <command> |
docker-compose run --rm frontend yarn dev
docker-compose run --rm frontend yarn build
docker-compose run --rm frontend yarn start
docker-compose run --rm frontend yarn lint --fix