A react based brickbreaker game using canvas.
- Create React App
- React Router
- React Context API
- CSS Modules (scss)
- Code splitting (React.lazy & Suspense)
- Jest
- react-testing-library
- ESLint - AirBnB Styleguide
- Husky - v4
- StyleLint
- Install Yarn package manager v1
- Install VSCode ESLint plugin
- Install VSCode StyleLint plugin
- run
yarn
in the console to install dependencies - run
yarn start
to launch the React dev server - run
yarn storybook
to launch the Storybook dev server
- Netlify
- Husky (pre-commit linting and error messages)
- run
yarn build
to build the React app - run
build-storybook
to build the Storybook app
yarn start
- Start the React development serveryarn storybook
- Start the Storybook development serveryarn lint
- Lint.js
&.jsx
filesyarn lint:fix
- Fix problems in.js
&.jsx
filesyarn stylelint
- Lint.css
filesyarn stylelint:fix
- Fix problems in.scss
files