mirror of
https://github.com/mantinedev/next-app-template.git
synced 2025-11-08 19:42:01 +10:00
next-env.d.ts to .gitignore (#47)
* Remove next-env * Add next env to gitignore * Add typegen to test script
Mantine Next.js template
This is a template for Next.js app router + Mantine. If you want to use pages router instead, see next-pages-template.
Features
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
npm scripts
Build and dev scripts
dev– start dev serverbuild– bundle application for productionanalyze– analyzes application bundle with @next/bundle-analyzer
Testing scripts
typecheck– checks TypeScript typeslint– runs ESLintprettier:check– checks files with Prettierjest– runs jest testsjest:watch– starts jest watchtest– runsjest,prettier:check,lintandtypecheckscripts
Other scripts
storybook– starts storybook dev serverstorybook:build– build production storybook bundle tostorybook-staticprettier:write– formats all files with Prettier
Languages
TypeScript
66.9%
JavaScript
29.9%
CSS
3.2%