Copies the headless cms-client package (SlpSoftware 93fa729) and builds the form on useContactForm: availability check when the form is in view (no request while switched off), the readable shoot label as subject, the Friendly Captcha widget as its own lazy chunk, trackEvent for contact-sent and contact-failed. Removes the old reducer, validation and submit stub. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
67 lines
2.6 KiB
JSON
67 lines
2.6 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 && node config/externalizeInlineScripts.ts",
|
|
"preview": "node config/previewServer.ts",
|
|
"e2e": "vitest run --config vitest.e2e.config.ts",
|
|
"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 e2e && 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",
|
|
"@friendlycaptcha/sdk": "^1.1.3",
|
|
"@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"
|
|
}
|
|
}
|