VΓt's starter template for Next.js v13
Minimalistic starter for Next.js projects with all the goodies π€
- TypeScript and ESLint with opinionated setup
- Prettier as code formatter
- emotion with theme and utilities for CSS-in-JS
- Stylelint to keep your CSS-in-JS clean
- Conventional Commits setup
- husky hooks for
commit-msg
andpre-commit
(with lint-staged) - pnpm as package manager (with renovate)
- GitHub Actions workflow for QA
src
folder with lined-up structure for your components, pages and other stuff
- Select
Use this template
>Create new repository
above - Clone the created repository
- Run
pnpm install
- Start coding and create something π
pnpm run build
β creates production build withnext build
pnpm run cz
β starts CLI to create Conventional Commitpnpm run dev
β starts development server withnext dev
pnpm run eslint
β checks code witheslint
pnpm run eslint:fix
β runseslint
with auto-fixpnpm run fix
β runs all linters with auto-fixpnpm run prettier
β checks code format withprettier
pnpm run prettier:fix
β runsprettier
with auto-fixpnpm run stylelint
β checks your CSS-in-JS filespnpm run stylelint:fix
β runsstylelint
with auto-fixpnpm run qa
β runs all linters in check-only modepnpm run start
β starts server for last created production buildpnpm run ts
- checks code withtsc