Adds the footer, back-to-top button, skip link, placeholder routes, 404 and error pages inside the shell, plus per-page SEO from a single page registry (canonical URLs, Open Graph image, JSON-LD, generated sitemap.xml and robots.txt). Theme tokens and recipes replace repeated styling, the hero loads only the active and neighbouring slides, and the e-mail address is joined in the browser to keep it out of the HTML and bundle. Adds Vitest with property-based (fast-check) and axe tests, ESLint, security headers for dev and preview, Lighthouse CI and a `pnpm check` script that runs all quality gates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
61 lines
2.2 KiB
JSON
61 lines
2.2 KiB
JSON
{
|
|
"name": "andrea-slop-fotografie",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"postinstall": "chakra typegen ./src/theme.ts",
|
|
"typegen": "chakra typegen ./src/theme.ts",
|
|
"typegen:watch": "chakra typegen ./src/theme.ts --watch",
|
|
"test": "vitest run --coverage",
|
|
"test:watch": "vitest",
|
|
"lint": "eslint .",
|
|
"format:check": "prettier --check .",
|
|
"audit:deps": "pnpm audit --prod --audit-level high",
|
|
"audit:dev": "pnpm audit || echo Meldingen in ontwikkeltools blokkeren niet (NFR-SEC-05)",
|
|
"lighthouse": "lhci autorun && lhci autorun --config=lighthouserc.desktop.cjs",
|
|
"check": "pnpm lint && pnpm format:check && pnpm test && pnpm build && pnpm audit:deps && pnpm audit:dev && pnpm lighthouse"
|
|
},
|
|
"devDependencies": {
|
|
"@chakra-ui/cli": "^3.37.0",
|
|
"@eslint/js": "^9.39.5",
|
|
"@iconify-icons/ant-design": "2.0.1",
|
|
"@iconify/react": "^6.0.2",
|
|
"@lhci/cli": "^0.15.1",
|
|
"@tanstack/react-router-devtools": "^1.167.2",
|
|
"@tanstack/router-plugin": "^1.168.40",
|
|
"@testing-library/dom": "^10.4.2",
|
|
"@testing-library/jest-dom": "^7.0.1",
|
|
"@testing-library/react": "^16.3.3",
|
|
"@testing-library/user-event": "^14.6.8",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@vitejs/plugin-react": "^6.1.2",
|
|
"@vitest/coverage-v8": "^5.0.5",
|
|
"axe-core": "^4.14.0",
|
|
"eslint": "^9.39.5",
|
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"fast-check": "^4.10.2",
|
|
"globals": "^17.13.0",
|
|
"jsdom": "^30.1.3",
|
|
"prettier": "^3.9.9",
|
|
"typescript": "~6.0.2",
|
|
"typescript-eslint": "^8.71.2",
|
|
"vite": "^8.3.0",
|
|
"vitest": "^5.0.5"
|
|
},
|
|
"dependencies": {
|
|
"@chakra-ui/react": "^3.37.0",
|
|
"@emotion/react": "^11.14.0",
|
|
"@fontsource/jost": "^5.3.0",
|
|
"@fontsource/marcellus": "^5.3.0",
|
|
"@tanstack/react-router": "^1.170.39",
|
|
"react": "^19.3.0",
|
|
"react-dom": "^19.3.0"
|
|
}
|
|
}
|