Skip to content

LetsGetTechnical/gridiron-survivor

Folders and files

NameName
Last commit message
Last commit date
Jul 17, 2024
Oct 14, 2024
Oct 17, 2024
Oct 17, 2024
Oct 22, 2024
Jul 22, 2024
Sep 13, 2024
Jul 22, 2024
Oct 14, 2024
Oct 11, 2024
Oct 14, 2024
Sep 26, 2024
Sep 10, 2024
Jul 19, 2024
Jul 1, 2024
Jul 22, 2024
Apr 16, 2024
May 29, 2024
May 29, 2024
Sep 10, 2024
Jul 9, 2024
Jul 19, 2024
Jul 19, 2024
Sep 26, 2024
Jun 12, 2024
Oct 14, 2024
Jul 19, 2024
Oct 14, 2024
Jul 19, 2024
Jul 19, 2024
Oct 14, 2024
Aug 13, 2024

Repository files navigation

LGT GridIron Project

Setup

Install dependencies

pnpm i

Install playwright browsers

pnpm exec playwright install

Storybook

Run Storybook in the project root

pnpm run storybook

React Testing Library (RTL) && Jest

Run RTL && Jest in the project root

pnpm test

Playwright Testing

Run all Playwright tests

pnpm exec playwright test

Run single Playwright tests

pnpm exec playwright test (name of file)

Prettier

Search for and open settings.json by pressing cmd+shift+p on MacOS or ctrl+shift+p on Windows.

Important

There may be multiple options, ensure you select the option that says "Open User Settings (JSON) Screenshot of VS Code search results for "settings.json" with the User Settings JSON option highlighted.

Add the following lines to your settings.json

"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,

Open a file and save it, you should see formatting changes made as soon as you save it!