Implement Phase 1 of i18n spec: - Configure next-intl with 6 locales (pt, en, es, fr, de, zh-CN) and pathnames - Move routes to app/[locale] structure with localized layouts and metadata - Add middleware for root language negotiation (307), legacy redirects (308), and 404 for non-pt book - Implement language selector dropdown in header with cookie persistence - Add system typography rules for zh-CN and word-break/hyphenation for de/fr Co-Authored-By: Antigravity <noreply@google.com>
39 lines
970 B
JSON
39 lines
970 B
JSON
{
|
|
"name": "espdocs",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --turbopack",
|
|
"build": "next build --turbopack",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"audit": "node scripts/auditar-paginas.mjs",
|
|
"check": "npm run lint && npm run auditar-temas && npm run audit",
|
|
"favicons": "node scripts/generate-favicons.mjs",
|
|
"auditar-temas": "node scripts/auditar-temas.mjs",
|
|
"slides-pdf": "node scripts/slides-pdf.mjs"
|
|
},
|
|
"dependencies": {
|
|
"googleapis": "^165.0.0",
|
|
"lucide-react": "^1.16.0",
|
|
"next": "^15.5.28",
|
|
"next-intl": "^4.14.9",
|
|
"next-themes": "^0.4.6",
|
|
"react": "19.1.0",
|
|
"react-dom": "19.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3",
|
|
"@tailwindcss/postcss": "^4",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "15.5.6",
|
|
"puppeteer": "^25.8.0",
|
|
"tailwindcss": "^4"
|
|
},
|
|
"overrides": {
|
|
"next": {
|
|
"postcss": "^8.5.25"
|
|
}
|
|
}
|
|
}
|