WinterBoy-Galois / cazino-nft-front

Cazino NFT game frontend (React.js)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Cazino NFT game frontend (React.js)


Languages

Language:TypeScript 86.4%Language:SCSS 13.0%Language:JavaScript 0.3%Language:HTML 0.2%Language:Shell 0.1%Language:Dockerfile 0.0%Language:CSS 0.0%