main
Relocate item-type configurations, components, and icons from components/item-type/ to a top-level item-type/ folder directly under the xoonips module root. - Generalize ItemUtil by dynamically fetching configurations. - Move generic item-type base components to components/lib/item-type. - Move site-wide images and icons to assets/ folder. - Relocate item-type specific icons into each type's subdirectory. - Implement dynamic compile-time eager loading using Vite's glob import with a centralized configuration file.
NeuroImaging Platform
React project for nimg.neuroinf.jp
Tech Stack
- Build tool: Vite
- Framework: React 19
- Language: TypeScript
- HTTP client: ky
- Formatter: Biome
Prerequisites
- Node.js 24
Getting Started
npm install
npm run dev
Open http://localhost:5173 to view the app in the browser.
Available Scripts
npm run dev
Starts the development server with hot module replacement.
npm run build
Builds the app for production to the build folder.
npm run preview
Previews the production build locally.
npm run format
Formats all source files using Biome.
Project Structure
src/
├── brainexplorer/ # Brain Explorer module
├── common/ # Shared components and utilities
├── config.ts # Application configuration
├── credits/ # Credits module
├── custom/ # Custom components (Header, Footer, Page)
├── functions.ts # Utility functions
├── index.tsx # Entry point
├── nimgcenter/ # NIMG Center module
├── nimgdocs/ # NIMG Docs module
├── nimgsearch/ # NIMG Search module
└── xoonips/ # XooNIps integration module
Languages
TypeScript
84.2%
PHP
12.5%
CSS
2.9%
Shell
0.2%