This is a template for Next.js app router + Mantine. If you want to use pages router instead, see next-pages-template.
This template comes with the following features:
- PostCSS with mantine-postcss-preset
- TypeScript
- Storybook
- Jest setup with React Testing Library
- ESLint setup with eslint-config-mantine
-
dev
– start dev server -
build
– bundle application for production -
analyze
– analyzes application bundle with @next/bundle-analyzer
-
typecheck
– checks TypeScript types -
lint
– runs ESLint -
prettier:check
– checks files with Prettier -
jest
– runs jest tests -
jest:watch
– starts jest watch -
test
– runsjest
,prettier:check
,lint
andtypecheck
scripts
-
storybook
– starts storybook dev server -
storybook:build
– build production storybook bundle tostorybook-static
-
prettier:write
– formats all files with Prettier