Files
metabuilder/packages/code_editor/package.json
johndoe6345789 42446ef255 feat: Update package schemas and scripts to support JSON-based lifecycle hooks
- 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.
2026-01-07 15:25:45 +00:00

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"
]
}
}