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