Files
kreios/package.json
T
carmine.savino 24df94cdc3 feat: integrate Draco compression for GLB models and implement encryption for secure loading
- Added DRACOLoader to starter.js for handling compressed GLB models.
- Created a createGltfLoader function to initialize GLTFLoader with DRACOLoader.
- Implemented dracoModels plugin in vite.config.js to compress GLB models during build.
- Introduced model_loader.js for loading encrypted GLB models with WebCrypto.
- Developed encryptModels plugin to encrypt GLB files, ensuring no clear models are exposed.
- Updated asset handling to remove uncompressed GLB files post-build.
2026-10-28 10:00:09 +01:00

34 lines
825 B
JSON

{
"name": "kreiosinfissi-vite",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"@fortawesome/fontawesome-free": "^6.7.2",
"bootstrap": "^5.3.5",
"bs5-lightbox": "^1.8.5",
"gsap": "^3.13.0",
"jquery": "^3.7.1",
"three": "^0.185.1",
"vite-plugin-static-copy": "^2.3.0"
},
"devDependencies": {
"@gltf-transform/core": "^4.5.1",
"@gltf-transform/extensions": "^4.5.1",
"@gltf-transform/functions": "^4.5.1",
"draco3dgltf": "^1.5.9",
"vite": "^6.2.4",
"vite-plugin-minify": "^2.1.0"
},
"packageManager": "pnpm@10.34.7"
}