feat(modules): 添加module.json配置
This commit is contained in:
43
packages/ui/module.json
Normal file
43
packages/ui/module.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"id": "ui",
|
||||
"name": "@esengine/ui",
|
||||
"displayName": "UI System",
|
||||
"description": "User interface components and layout | 用户界面组件和布局",
|
||||
"version": "1.0.0",
|
||||
"category": "Rendering",
|
||||
"icon": "Layout",
|
||||
"tags": [
|
||||
"ui",
|
||||
"interface",
|
||||
"layout"
|
||||
],
|
||||
"isCore": false,
|
||||
"defaultEnabled": false,
|
||||
"isEngineModule": true,
|
||||
"canContainContent": true,
|
||||
"platforms": [
|
||||
"web",
|
||||
"desktop",
|
||||
"mobile"
|
||||
],
|
||||
"dependencies": [
|
||||
"core",
|
||||
"math"
|
||||
],
|
||||
"exports": {
|
||||
"components": [
|
||||
"UICanvasComponent",
|
||||
"UITextComponent",
|
||||
"UIImageComponent",
|
||||
"UIButtonComponent"
|
||||
],
|
||||
"systems": [
|
||||
"UIRenderSystem",
|
||||
"UIEventSystem"
|
||||
]
|
||||
},
|
||||
"editorPackage": "@esengine/ui-editor",
|
||||
"requiresWasm": false,
|
||||
"outputPath": "dist/index.js",
|
||||
"pluginExport": "UIPlugin"
|
||||
}
|
||||
Reference in New Issue
Block a user