Rebuild the site on the stack the other converted sites share: Vite 8, React 19, TypeScript 7, react-router 8, Biome and sanitize.css, with the site data moved out of the bundle into static-contents/. - base the database and forum code on cerebellum.neuroinf.jp, keeping the CBSN item fields for papers, books and presentations - serve the XooNIps and forum data from modules/, redirecting the old download and /database/file URLs - restate the theme sizes as border-box totals and keep form controls on white - track page views with GA4
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "cbsn",
|
|
"version": "2.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"lint": "biome lint",
|
|
"format": "biome format --write",
|
|
"check": "biome check --write"
|
|
},
|
|
"dependencies": {
|
|
"@dr.pogodin/react-helmet": "^3.2.3",
|
|
"@orrisroot/react-html-parser": "^3.0.1",
|
|
"async-lock": "^1.4.1",
|
|
"date-fns": "^4.4.0",
|
|
"ky": "^2.1.0",
|
|
"lokijs": "^1.5.12",
|
|
"rc-tree": "^5.13.1",
|
|
"react": "^19.3.0",
|
|
"react-cookie": "^8.1.2",
|
|
"react-dom": "^19.3.0",
|
|
"react-ga4": "^3.0.1",
|
|
"react-overlays": "^5.2.1",
|
|
"react-router": "^8.3.1",
|
|
"sanitize.css": "^13.0.0",
|
|
"yet-another-react-lightbox": "^3.32.2"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.5.13",
|
|
"@types/async-lock": "^1.4.2",
|
|
"@types/lokijs": "^1.5.14",
|
|
"@types/node": "^24.13.4",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@vitejs/plugin-react": "^6.1.1",
|
|
"sirv": "^3.0.2",
|
|
"typescript": "~7.0.2",
|
|
"vite": "^8.3.0"
|
|
}
|
|
}
|