/cazino-nft-front

Cazino NFT game frontend (React.js)

Primary LanguageTypeScript

CaZZZino Frontend

This project is based on create-react-app. For more information and docs visit create-react-app.dev

test2

Getting started

$ yarn
$ yarn start

Production build

$ yarn build

Build artefacts can found in /build

Features

Linting and formatting

Run all

$ yarn lint

TS Lint

$ yarn lint:ts

stylelint

$ yarn lint:scss

Prettier

$ yarn format

Git Hooks

The pre-commit hook runs linting on ts and scss files, and formats all staged files with prettier.

The pre-push hook runs all unit tests.

Storybook

Use Storybook to develop components in an independent environment that allows you to simulate different states.

$ yarn storybook

Analyze bundle and chunk size

$ yarn build && yarn analyze

Unit Testing

Watch mode

$ yarn test

Single run

$ yarn test:single

Debugging (VS Code)

While running yarn start the debugger can be attached by pressing F5.

Note: You need to have to have Debugger for Chrome installed.