/react-pokedex

Primary LanguageTypeScriptMIT LicenseMIT

Package License Package Version

React Pokedex

Requirements

  • Node 16+
  • Git 2+
  • Yarn 1

Installation

  1. Clone the repo:
  git clone https:/github.com/teo-garcia/react-template-vite.git
  1. Install the dependencies:
  yarn
  1. Run the project:
  yarn dev

Features

  • Vite 4.
  • React 18.
  • Typescript 4.
  • Linting with ESLint + Stylelint + Prettier.
  • Git Hooks with Husky + Lint Staged.
  • Unit Testing with Jest + RTL.
  • E2E Testing with Playwright.

Commands

Command Description
dev Run dev:web.
build Run build:web.
dev:web Run vite in DEV mode.
build:web Run vite in PROD mode.
start:web Run vite server (build required).
test:unit Run jest.
test:e2e Run build:web, start:web, and cypress.
lint:css Lint CSS files.
lint:js Lint JS files.