72 lines
2.1 KiB
JSON
72 lines
2.1 KiB
JSON
{
|
|
"name": "nextjs-hackernews",
|
|
"version": "0.4.0",
|
|
"description": "Newsletter with the top stories from the Hacker News forum",
|
|
"author": "riccardo@frompixels.com",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "prisma generate && next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"format": "prettier --config .prettierrc 'app/' --write",
|
|
"typecheck": "tsc --noEmit",
|
|
"prepare": "husky install",
|
|
"analyze": "BUNDLE_ANALYZE=true next build",
|
|
"vercel:link": "vercel link",
|
|
"vercel:env": "vercel env pull .env",
|
|
"prisma:migrate": "npx prisma migrate dev",
|
|
"prisma:push": "npx prisma db push",
|
|
"prisma:generate": "npx prisma generate",
|
|
"prisma:reset": "npx prisma db push --force-reset"
|
|
},
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^3.3.2",
|
|
"@next/bundle-analyzer": "^14.2.5",
|
|
"@prisma/client": "^5.6.0",
|
|
"@radix-ui/react-label": "^2.0.2",
|
|
"@radix-ui/react-slot": "^1.0.2",
|
|
"@vercel/analytics": "^1.1.1",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.0.0",
|
|
"next": "^14.1.0",
|
|
"postcss-nesting": "^12.0.2",
|
|
"react": "^18",
|
|
"react-dom": "^18",
|
|
"react-hook-form": "^7.48.2",
|
|
"resend": "^3.1.0",
|
|
"tailwind-merge": "^2.1.0",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^18.4.3",
|
|
"@commitlint/config-conventional": "^18.4.3",
|
|
"@types/node": "^20",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
|
"@typescript-eslint/parser": "^6.12.0",
|
|
"audit-ci": "^6.6.1",
|
|
"autoprefixer": "^10.0.1",
|
|
"eslint": "^8",
|
|
"eslint-config-next": "14.0.3",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"husky": "^8.0.3",
|
|
"lint-staged": "^15.1.0",
|
|
"postcss": "^8",
|
|
"prettier": "^3.1.0",
|
|
"prettier-plugin-tailwindcss": "^0.5.7",
|
|
"prisma": "^5.6.0",
|
|
"tailwindcss": "^3.4.1",
|
|
"typescript": "^5"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx}": [
|
|
"eslint --quiet --fix"
|
|
],
|
|
"*.{json,ts,tsx}": [
|
|
"prettier --write --ignore-unknown"
|
|
]
|
|
}
|
|
}
|