Replace "@vercel/analytics" with "@tryghost/content-api" and add "node-fetch" to dependencies. Remove "@vercel/speed-insights" to streamline the package. Update robots.txt to dis access to "/legal-notice" and "/privacy-policy". Change <p> tags to <div> in the Privacy Policy for better structure. Update the last modified date in the Legal Notice. Add a new API route for fetching images with error handling for missing URL parameters.
41 lines
971 B
JSON
41 lines
971 B
JSON
{
|
|
"name": "portfolio",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --turbopack",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@prisma/client": "^6.1.0",
|
|
"@tryghost/content-api": "^1.11.21",
|
|
"@vercel/og": "^0.6.5",
|
|
"dotenv": "^16.4.7",
|
|
"gray-matter": "^4.0.3",
|
|
"next": "15.1.3",
|
|
"node-fetch": "^3.3.2",
|
|
"nodemailer": "^6.10.0",
|
|
"prisma": "^6.1.0",
|
|
"react": "^19.0.0",
|
|
"react-cookie-consent": "^9.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-markdown": "^9.0.3",
|
|
"rehype-raw": "^7.0.0",
|
|
"remark-gfm": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3",
|
|
"@types/node": "^20",
|
|
"@types/nodemailer": "^6.4.17",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "15.1.3",
|
|
"postcss": "^8",
|
|
"tailwindcss": "^3.4.1",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|