37 lines
1.5 KiB
Markdown
37 lines
1.5 KiB
Markdown
# Mantine Vite template
|
||
|
||
The project is a well-structured, modern React application with a clean design and strong technical foundation. It effectively showcases Craig Macfadyen's professional expertise but would benefit from completing the missing features and addressing the navigation structure. The use of Mantine provides a solid UI foundation, and the component architecture supports maintainability and future expansion.
|
||
|
||
## Features
|
||
|
||
This template comes with the following features:
|
||
|
||
- [PostCSS](https://postcss.org/) with [mantine-postcss-preset](https://mantine.dev/styles/postcss-preset)
|
||
- [TypeScript](https://www.typescriptlang.org/)
|
||
- [Storybook](https://storybook.js.org/)
|
||
- [Vitest](https://vitest.dev/) setup with [React Testing Library](https://testing-library.com/docs/react-testing-library/intro)
|
||
- ESLint setup with [eslint-config-mantine](https://github.com/mantinedev/eslint-config-mantine)
|
||
|
||
## npm scripts
|
||
|
||
## Build and dev scripts
|
||
|
||
- `dev` – start development server
|
||
- `build` – build production version of the app
|
||
- `preview` – locally preview production build
|
||
|
||
### Testing scripts
|
||
|
||
- `typecheck` – checks TypeScript types
|
||
- `lint` – runs ESLint
|
||
- `prettier:check` – checks files with Prettier
|
||
- `vitest` – runs vitest tests
|
||
- `vitest:watch` – starts vitest watch
|
||
- `test` – runs `vitest`, `prettier:check`, `lint` and `typecheck` scripts
|
||
|
||
### Other scripts
|
||
|
||
- `storybook` – starts storybook dev server
|
||
- `storybook:build` – build production storybook bundle to `storybook-static`
|
||
- `prettier:write` – formats all files with Prettier
|