Tic Tac Toe - Frontend App
Start the development
git clone https://github.com/developers-gang/tic-tac-toe-frontendyarn installornpm installyarn startornpm start- open localhost:3000 in your favorite browser
Build project
yarn buildornpm run build
Lint project
yarn lintornpm run lint
Fix autofixable eslint errors
yarn lint:fixornpm run lint:fix
If husky pre-commit hook willn't work, please run npx husky-init command with cli (in project directory)
and replace new .husky/pre-commit file with our.
Also I created release.yml file in .github/workflows/. This is for automation our releases with github bot,
so you need to add your script after yarn build command.
- React 17 as a front-end library.
- Webpack 5 as a bundler.
- TypeScript for type checking.
- React Router v6 for application routing.
- i18next for localzation.
- eslint for lint code.
- prettier for format code.
- husky for run any script before commit.
- commitlint for conventional commit messages.
We are use commitlint for lint our commit messages and it has several rules for commits.
