forked from templates/nextjs-template
- добавлен алиас infra и обновлены импорты Mantine - настроены тема, цветовая схема и CSS-переменные Mantine - добавлен переключатель цветовой схемы на главный экран - обновлены шаблоны бизнес- и infra-модулей под фабрики - добавлена команда генерации Petstore API и исключён generated-код из Biome - обновлены JSDoc-комментарии React-компонентов
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"name": "nextjs",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "biome check",
|
|
"format": "biome format --write",
|
|
"sprite": "svg-sprites",
|
|
"codegen:pet-store-api": "npx @gromlab/api-codegen@latest -i http://localhost:8080/api/v3/openapi.json -o src/infrastructure/pet-store-api/generated -n pet-store-api.generated",
|
|
"predev": "svg-sprites",
|
|
"prebuild": "svg-sprites"
|
|
},
|
|
"dependencies": {
|
|
"@gromlab/svg-sprites": "^0.1.4",
|
|
"@mantine/core": "^8.3.18",
|
|
"@mantine/hooks": "^8.3.18",
|
|
"clsx": "^2.1.1",
|
|
"next": "16.2.1",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"swr": "^2.4.1",
|
|
"zustand": "^5.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.2.0",
|
|
"@csstools/postcss-global-data": "^4.0.0",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"autoprefixer": "^10.5.0",
|
|
"postcss-custom-media": "^12.0.1",
|
|
"postcss-nesting": "^14.0.0",
|
|
"postcss-preset-mantine": "^1.18.0",
|
|
"postcss-simple-vars": "^7.0.1",
|
|
"typescript": "^5"
|
|
}
|
|
}
|