mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
c17f28201d
* module division * update * update * small fix * allow co-existing of physics modules * update * upgrade rollup-plugin-node-resolve * refine build engine cli * fix * upgrade rollup plugin commonjs * fix * mark physics module as required
99 lines
3.3 KiB
JSON
99 lines
3.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"additionalProperties": false,
|
|
"definitions": {
|
|
"GroupItem": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"default": {
|
|
"description": "If true, this field indicates the item is marked as bundled by default.",
|
|
"type": "boolean"
|
|
},
|
|
"defaultOption": {
|
|
"description": "Indicates the n-th option is selected by default if the item is marked as bundled.\nDefaults to 0.",
|
|
"type": "number"
|
|
},
|
|
"description": {
|
|
"description": "Item description.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Item name.",
|
|
"type": "string"
|
|
},
|
|
"options": {
|
|
"description": "Options.",
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"description": {
|
|
"description": "Option description.",
|
|
"type": "string"
|
|
},
|
|
"entry": {
|
|
"description": "Entry of the option.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of the option.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"required": {
|
|
"description": "Whether if this item is required to provide.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SimpleItem": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"default": {
|
|
"description": "If true, this field indicates the item is marked as bundled by default.",
|
|
"type": "boolean"
|
|
},
|
|
"description": {
|
|
"description": "Item description.",
|
|
"type": "string"
|
|
},
|
|
"entry": {
|
|
"description": "Entry to the module.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Item name.",
|
|
"type": "string"
|
|
},
|
|
"required": {
|
|
"description": "Whether if this item is required to provide.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"properties": {
|
|
"items": {
|
|
"description": "Items.",
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/definitions/SimpleItem"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/GroupItem"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
|