Procedural, game-ready vehicles for three.js: 13 body styles, blending, seeded random vehicles, three LODs, colliders, 13 parametric mods, paint and livery, a rig that drives, and GLB export that a game can load and drive. Ships with a studio (browser or Tauri desktop app) and a Play mode.
64 lines
1.7 KiB
JSON
64 lines
1.7 KiB
JSON
{
|
|
"name": "vehicle-generator",
|
|
"version": "0.1.0",
|
|
"description": "Procedural, game-ready vehicle generator for three.js: parametric body styles, composable mods, paint, LODs, colliders and GLB export.",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"author": "CRTkafa",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://git.crt.fyi/CRT/vehicle-generator.git"
|
|
},
|
|
"keywords": [
|
|
"threejs",
|
|
"procedural",
|
|
"vehicle",
|
|
"car",
|
|
"generator",
|
|
"gamedev",
|
|
"lod",
|
|
"gltf"
|
|
],
|
|
"exports": {
|
|
".": "./src/generator/index.ts"
|
|
},
|
|
"files": [
|
|
"src/generator",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc --noEmit",
|
|
"verify": "bun scripts/verify.ts",
|
|
"verify:glb": "bun scripts/verify-glb.ts",
|
|
"cages:build": "bun scripts/cages.ts",
|
|
"cages:watch": "bun scripts/cages.ts --watch",
|
|
"check:docs": "bun scripts/check-docs.ts",
|
|
"render": "bun scripts/render.ts",
|
|
"export:glb": "bun scripts/export-glb.ts",
|
|
"tauri": "tauri",
|
|
"desktop:dev": "tauri dev",
|
|
"desktop:build": "tauri build",
|
|
"brand:paint": "python3 tools/brand.py paint",
|
|
"icons": "tauri icon media/icon.png",
|
|
"gate": "bun run typecheck && bun run verify && bun run verify:glb && bun run check:docs && bun run build"
|
|
},
|
|
"peerDependencies": {
|
|
"three": ">=0.185.0"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^2",
|
|
"three": "^0.185.1"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2",
|
|
"@types/node": "^22.15.3",
|
|
"@types/three": "^0.185.4",
|
|
"@webgpu/types": "^0.1.72",
|
|
"typescript": "^5.9.2",
|
|
"vite": "^7.1.5"
|
|
}
|
|
}
|