* Add Google Analytics tracking to website - Add GA script tags to layout.tsx head section - Remove @next/third-parties dependency from package.json - Use measurement ID G-7NBBNJNNQ7 for tracking * Fix Google Analytics integration for static export - Use Next.js Script component instead of inline scripts - Add 'afterInteractive' strategy for optimal loading - GA scripts now properly included in static build output
53 lines
1.6 KiB
JSON
53 lines
1.6 KiB
JSON
{
|
|
"name": "vocalinux-website",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "next build",
|
|
"build:static": "next build",
|
|
"check": "next lint && tsc --noEmit",
|
|
"dev": "next dev",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"preview": "next build && next start",
|
|
"start": "next start",
|
|
"typecheck": "tsc --noEmit",
|
|
"format:write": "prettier --write \"**/*.{ts,tsx,js,jsx,mdx}\" --cache",
|
|
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,mdx}\" --cache",
|
|
"test": "jest",
|
|
"test:types": "tsc --noEmit --pretty",
|
|
"test:all": "npm run test && npm run test:types",
|
|
"deploy": "next build && touch out/.nojekyll && echo 'vocalinux.com' > out/CNAME"
|
|
},
|
|
"dependencies": {
|
|
"@types/node": "^20.14.10",
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"framer-motion": "^12.9.4",
|
|
"geist": "^1.4.1",
|
|
"lucide-react": "^0.507.0",
|
|
"next": "^15.0.1",
|
|
"next-themes": "^0.4.6",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-intersection-observer": "^9.16.0",
|
|
"react-syntax-highlighter": "^15.6.1",
|
|
"tailwind-merge": "^3.2.0",
|
|
"tailwindcss": "^3.4.3",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"typescript": "^5.5.3"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
|
"@typescript-eslint/parser": "^8.1.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-next": "^15.0.1",
|
|
"postcss": "^8.4.39",
|
|
"prettier": "^3.3.2",
|
|
"prettier-plugin-tailwindcss": "^0.6.5"
|
|
}
|
|
}
|