Files
spacedrive/packages/interface/package.json
Jamie Pine 83809fadc3 Add support for PLY 3D models and integrate Gaussian splats visualization
- Introduced a new file type definition for PLY 3D models in `misc.toml`.
- Updated `package.json` to include dependencies for Gaussian splats and React Three Fiber.
- Implemented a `MeshViewer` component for rendering 3D models, supporting both standard mesh and Gaussian splat formats.
- Enhanced `ContentRenderer` to handle mesh file types with lazy loading for improved performance.
- Updated TypeScript configuration to include types for React Three Fiber.
2025-12-18 11:04:24 -08:00

62 lines
1.6 KiB
JSON

{
"name": "@sd/interface",
"version": "0.0.0",
"private": true,
"license": "GPL-3.0-only",
"main": "src/index.tsx",
"types": "src/index.tsx",
"sideEffects": false,
"exports": {
".": "./src/index.tsx",
"./app": "./src/App.tsx",
"./platform": "./src/platform.tsx",
"./styles.css": "./src/styles.css"
},
"scripts": {
"lint": "eslint src --cache",
"typecheck": "tsc -b"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@mkkellogg/gaussian-splats-3d": "^0.4.7",
"@phosphor-icons/react": "^2.1.0",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-tooltip": "^1.0.7",
"@react-three/drei": "^9.122.0",
"@react-three/fiber": "^9.4.2",
"@sd/assets": "workspace:*",
"@sd/ts-client": "workspace:*",
"@sd/ui": "workspace:*",
"@tanstack/react-query": "^5.90.7",
"@tanstack/react-query-devtools": "^5.90.2",
"@tanstack/react-table": "^8.21.3",
"@tanstack/react-virtual": "^3.13.12",
"@types/d3": "^7.4.3",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"d3": "^7.9.0",
"framer-motion": "^12.23.24",
"qrcode": "^1.5.4",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-hook-form": "^7.53.2",
"react-router-dom": "^6.20.1",
"react-scan": "^0.4.3",
"rooks": "^9.3.0",
"sonner": "^1.0.3",
"tailwind-merge": "^1.14.0",
"three": "^0.160.0",
"zod": "^3.23",
"zustand": "^5.0.8"
},
"devDependencies": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc",
"@types/three": "^0.182.0",
"typescript": "^5.6.2"
}
}