This is a Next.js boilerplate to be used in a course called React Avançado.
- TypeScript
- NextJS
- Styled Components
- Jest
- React Testing Library
- Storybook
- Eslint
- Prettier
- Husky
- Plop
- Dependabot
- Github Actions
⭕ Recommended Node Version: 16xx ⭕
git clone https://github.com/GuiiHenriq/boilerplate-react
cd boilerplate-react
yarn install
yarn dev
Using Boilerplate in your NextJS project:
yarn create next-app -e https://github.com/GuiiHenriq/boilerplate-react
-
dev
: runs your application onlocalhost:3000
-
build
: creates the production build version -
start
: starts a simple server with the build production code -
lint
: runs the linter in all components and pages -
test
: runs jest to test all components and pages -
test:watch
: runs jest in watch mode -
storybook
: runs storybook onlocalhost:6006
-
build-storybook
: create the build version of storybook