mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 14:25:02 +00:00
- Added `jsonScript` property to metadata schema for JSON script entry points. - Refactored `generate-package.ts` to replace Lua scripts with JSON scripts for lifecycle hooks. - Updated test generation to use JSON format for metadata validation. - Modified documentation and comments to reflect the transition from Lua to JSON scripting. - Adjusted Storybook configuration and mock data to align with new JSON script structure. - Renamed relevant files and references from Lua to JSON for consistency across the project.
36 lines
720 B
JSON
36 lines
720 B
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/package-metadata.schema.json",
|
|
"packageId": "code_editor",
|
|
"name": "Code Editor",
|
|
"version": "1.0.0",
|
|
"description": "Code editor components for JSON, scripting, and theme editing",
|
|
"author": "MetaBuilder",
|
|
"license": "MIT",
|
|
"category": "editors",
|
|
"icon": "static_content/icon.svg",
|
|
"minLevel": 5,
|
|
"primary": false,
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"testing": "*"
|
|
},
|
|
"exports": {
|
|
"components": [
|
|
"CodeEditor",
|
|
"JsonEditor",
|
|
"ScriptEditor",
|
|
"ThemeEditor"
|
|
],
|
|
"scripts": [
|
|
"json",
|
|
"lua",
|
|
"theme"
|
|
]
|
|
},
|
|
"tests": {
|
|
"suites": [
|
|
"tests/metadata.test.json"
|
|
]
|
|
}
|
|
}
|