Every page is now built as HTML from sitePages.ts, with a catch-all route for 404.html. Hooks that read the browser during render are safe for prerendering. The script step that keeps the CSP intact follows, so this build still has inline scripts and is not deployable yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
65 lines
2.4 KiB
JSON
65 lines
2.4 KiB
JSON
{
|
|
"name": "andrea-slop-fotografie",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"packageManager": "pnpm@12.11.2",
|
|
"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, zie NFR-SEC-05",
|
|
"lighthouse": "lhci autorun && lhci autorun --config=lighthouserc.desktop.cjs",
|
|
"server-config": "node config/writeServerConfig.ts",
|
|
"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",
|
|
"@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",
|
|
"playwright-core": "1.55.0",
|
|
"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",
|
|
"@sentry/react": "^11.8.0",
|
|
"@tanstack/react-router": "1.170.46",
|
|
"@tanstack/react-start": "1.169.4",
|
|
"react": "^19.3.0",
|
|
"react-dom": "^19.3.0"
|
|
}
|
|
}
|