Add a prepare script that runs 'git config core.hooksPath .githooks' on every npm install, so the commit-msg style gate and pre-push test gate turn on automatically per clone with nothing to remember. Guarded with '|| true' so installs never fail where git is absent (e.g. tarball deploys). Document that the deploy server never needs it since it only pulls.
65 lines
1.8 KiB
JSON
65 lines
1.8 KiB
JSON
{
|
|
"name": "moh-sass",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"prepare": "git config core.hooksPath .githooks || true",
|
|
"dev": "next dev -p 3014",
|
|
"build": "next build --webpack",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"db:push": "drizzle-kit push",
|
|
"db:studio": "drizzle-kit studio"
|
|
},
|
|
"dependencies": {
|
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
"@radix-ui/react-select": "^2.2.6",
|
|
"@radix-ui/react-slot": "^1.2.4",
|
|
"@types/nodemailer": "^7.0.11",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"drizzle-orm": "^0.45.2",
|
|
"framer-motion": "^12.35.0",
|
|
"gsap": "^3.15.0",
|
|
"lucide-react": "^0.577.0",
|
|
"next": "^16.1.6",
|
|
"next-intl": "^4.8.3",
|
|
"next-themes": "^0.4.6",
|
|
"nodemailer": "^8.0.1",
|
|
"pg": "^8.20.0",
|
|
"postgres": "^3.4.9",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"react-hook-form": "^7.71.2",
|
|
"tailwind-merge": "^3.5.0",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@electric-sql/pglite": "^0.5.4",
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@testing-library/jest-dom": "^7.0.0",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.3",
|
|
"@types/node": "^20",
|
|
"@types/pg": "^8.18.0",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"drizzle-kit": "^0.31.10",
|
|
"eslint": "^9.39.4",
|
|
"eslint-config-next": "^16.1.6",
|
|
"jsdom": "^30.0.1",
|
|
"postcss": "^8",
|
|
"tailwindcss": "^3.4.1",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"typescript": "^5",
|
|
"vitest": "^3.2.4"
|
|
}
|
|
}
|