space-game/bjsEditorPlugin/package.json
Michael Mainguy f73661c23b Add BabylonJS Editor plugin for level editing
Plugin features:
- Token-based authentication (user pastes token from website)
- Browse and load official levels
- Browse, load, and save personal levels
- Export current scene as level config JSON
- Import level config into Editor scene
- Editor script components for game objects (asteroid, ship, planet, etc.)
- Floating UI panel for quick access to tools
- Camera speed controls for editor navigation

Note: Uses public Supabase anon key (same as website client bundle)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-09 07:11:49 -06:00

22 lines
668 B
JSON

{
"name": "babylonjs-editor-space-game-plugin",
"version": "1.0.0",
"description": "Export BabylonJS Editor scenes to Space Game LevelConfig format",
"main": "dist/index.js",
"scripts": {
"build": "tsc && node -e \"const fs=require('fs');const p=JSON.parse(fs.readFileSync('package.json'));p.main='index.js';fs.writeFileSync('dist/package.json',JSON.stringify(p,null,2))\"",
"watch": "tsc -w"
},
"dependencies": {
"@auth0/auth0-spa-js": "^2.1.3",
"@supabase/supabase-js": "^2.45.0"
},
"devDependencies": {
"typescript": "^5.0.0",
"@babylonjs/core": "^6.0.0"
},
"peerDependencies": {
"babylonjs-editor": "^4.0.0"
}
}