Files
metabuilder/packages/json_script_example/seed/metadata.json
2025-12-31 13:41:52 +00:00

67 lines
1.6 KiB
JSON

{
"packageId": "json_script_example",
"name": "JSON Script Example",
"version": "1.0.0",
"description": "Comprehensive example demonstrating the full JSON script specification",
"author": "MetaBuilder",
"category": "examples",
"icon": "static_content/icon.svg",
"minLevel": 0,
"primary": false,
"dependencies": [],
"devDependencies": ["lua_test"],
"exports": {
"scripts": [
"all_expressions",
"all_statements",
"all_operators",
"control_flow",
"data_structures"
],
"types": [
"ArithmeticResult",
"ComparisonResult",
"LogicalResult",
"OperatorsDemoResult",
"ExpressionsDemoResult",
"StatementsDemoResult",
"DataStructuresResult",
"Classification",
"TestResult",
"ValidationResult"
],
"components": []
},
"tests": {
"parameterized": [
{
"logic": "tests/math.test.logic.json",
"parameters": "tests/math.test.parameters.json"
}
]
},
"permissions": {
"example.view": {
"minLevel": 0,
"description": "View examples"
}
},
"seed": {
"styles": "seed/styles.json",
"types": "seed/types.json"
},
"runtime": {
"scripts": [
"seed/script.json",
"seed/math_utils.json",
"seed/validation.json"
],
"main": "seed/script.json",
"executor": {
"lua": "../shared/seed/scripts/runtime/script_executor.lua",
"javascript": "../shared/seed/scripts/runtime/script_executor.cjs"
},
"description": "Multiple script files with import/export support"
}
}