- B1: Next.js 15 + Payload CMS 3.0 + Postgres 16, ESLint, Prettier, Husky, Vitest - B2: 9 collections, 6 globals, 12 Page Builder blocks, access control, slugify/revalidate hooks - B3: ezy.com.ua payments, Binotel HMAC webhook, leads API, Telegram bot, Resend email, rate limiting - B4: Tariffs collection with ezy API sync (cron + manual), dynamic pricing source-of-truth - B5: 13 test files covering unit libs and all API routes - B6: Dockerfile multi-stage, docker-compose.prod.yml, nginx.conf SSL, GitHub Actions CI/CD, health endpoint - B7: docs/admin-guide-ua.md (marketer guide), docs/deploy.md (VPS instructions), README quickstart Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
76 lines
1.9 KiB
JSON
76 lines
1.9 KiB
JSON
{
|
|
"name": "shumiland-site",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"packageManager": "pnpm@11.0.9",
|
|
"engines": {
|
|
"node": ">=20.0.0",
|
|
"pnpm": ">=11.0.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "next lint",
|
|
"format": "prettier --write .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"payload": "payload",
|
|
"prepare": "husky",
|
|
"seed": "tsx src/seed.ts"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{js,mjs,cjs,json,md,css}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@payloadcms/db-postgres": "^3.33.0",
|
|
"@payloadcms/next": "^3.33.0",
|
|
"@payloadcms/richtext-lexical": "^3.33.0",
|
|
"@react-email/components": "^1.0.12",
|
|
"cyrillic-to-translit-js": "^3.2.1",
|
|
"graphql": "^16.9.0",
|
|
"next": "^15.3.2",
|
|
"payload": "^3.33.0",
|
|
"pino": "^9.6.0",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"react-email": "^6.1.1",
|
|
"resend": "^6.12.3",
|
|
"sharp": "^0.33.5",
|
|
"zod": "^3.24.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.3.1",
|
|
"@types/node": "^20.14.10",
|
|
"@types/react": "^19.1.4",
|
|
"@types/react-dom": "^19.1.2",
|
|
"@types/supertest": "^6.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^8.32.0",
|
|
"@typescript-eslint/parser": "^8.32.0",
|
|
"@vitejs/plugin-react": "^4.4.1",
|
|
"@vitest/coverage-v8": "^3.1.4",
|
|
"dotenv": "^17.4.2",
|
|
"eslint": "^9.28.0",
|
|
"eslint-config-next": "^15.3.2",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^15.5.0",
|
|
"pino-pretty": "^13.0.0",
|
|
"postcss": "^8.5.3",
|
|
"prettier": "^3.5.3",
|
|
"prettier-plugin-tailwindcss": "^0.6.12",
|
|
"supertest": "^7.1.0",
|
|
"tailwindcss": "^4.1.6",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.8.3",
|
|
"vite-tsconfig-paths": "^5.1.4",
|
|
"vitest": "^3.1.4"
|
|
}
|
|
}
|