- React / React Router
- Baseweb / Styletron
- Axios / React-Query
- React-i18next
- EsLint / Prettier
- Babel / Webpack
- Simple-git-hooks / Lint-staged
- Jest / Cypress / Rtl
- Run
npx simple-git-hooks
to set all git hooks - Run
npm i
to install dependencies
npm <script> |
Description |
---|---|
dev |
Serves app at localhost:8080 with hot reloading enabled |
build |
Builds the application to ./build |
test:unit |
Runs all Unit tests |
cypress |
Opens Cypress |
format |
Runs Prettier |
lint:js |
Runs EsLint |
deploy |
Deploys to Github Pages |
- Install and Cache dependencies
- Run Format & Lint (Prettier, EsLint)
- Run e2e tests (Cypress)
- Run Unit tests (Jest)
- Build and Deploy (gh-pages)