A personal boilerplate that I use in my React applications.
There are a few options for using this template.:
- Clone the repository:
git clone https://github.com/gcleiton/react-boilerplate.git
- Create new repository: click Use this template button at the top of this repository
- Github CLI:
gh repo create myrepo --template https://github.com/gcleiton/react-boilerplate.git
dev
: runs the application in the development modebuild
: builds the application version for productionstart
: runs the application in the production modelint
: runs linter on projecttest
: launches the test runnertest:watch
: launches the test runner in the interactive watch modetest:staged
: launches the test runner only files on staged area (used in pre-commit hook integration)test:ci
: launches the test runner with coveragestorybook
: runs storybook server onlocalhost:6006
build:storybook
: builds the storybook application
- Typescript
- React
- React Router Dom
- React Icons
- Babel
- Webpack
- Styled Components
- Jest
- React Testing Library
- Storybook
- ESLint
- Prettier
- Husky
- Lint Staged
- Git Commit Message Linter
- EditorConfig
- Git
- Github Workflows
- Yarn
I would like to thank the knowledge passed on by the instructors Rodrigo Manguinho e William Justen where through them I was able to create this boilerplate that I use in my React projects.