4436877e45
Add a Vite plugin that renders bio, links and greetings from the Task 2 content modules into the raw served index.html at build time, so non-JS clients (Mastodon's rel=me verifier included) see real content and the mastodon.saillant.cc/@clement rel=me anchor. Hide the fallback for sighted users once the 3D demo boots, but keep it in the accessibility tree. Add @types/node so tsc can type-check the node:fs import in the new test.
33 lines
727 B
JSON
33 lines
727 B
JSON
{
|
|
"name": "clement-saillant-cc",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview --port 4173",
|
|
"test": "vitest run",
|
|
"e2e": "playwright test"
|
|
},
|
|
"dependencies": {
|
|
"@react-three/drei": "^10",
|
|
"@react-three/fiber": "^9",
|
|
"react": "^19",
|
|
"react-dom": "^19",
|
|
"three": "^0.177.0",
|
|
"zustand": "^5"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.53",
|
|
"@types/node": "^26.1.1",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@types/three": "^0.177.0",
|
|
"@vitejs/plugin-react": "^4",
|
|
"typescript": "^5.8",
|
|
"vite": "^7",
|
|
"vitest": "^3"
|
|
}
|
|
}
|