mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
84 lines
1.8 KiB
JSON
84 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/package-metadata.schema.json",
|
|
"packageId": "package_validator",
|
|
"name": "Package Validator",
|
|
"version": "1.0.0",
|
|
"description": "Validates JSON-based package structure including scripts, types, components, and tests",
|
|
"author": "MetaBuilder",
|
|
"license": "MIT",
|
|
"category": "tools",
|
|
"icon": "static_content/icon.svg",
|
|
"minLevel": 5,
|
|
"primary": true,
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"testing": "*"
|
|
},
|
|
"externalDependencies": {
|
|
"fs": {
|
|
"description": "File system operations for reading package files",
|
|
"required": true,
|
|
"functions": [
|
|
"readFile",
|
|
"existsSync",
|
|
"readdir",
|
|
"statSync"
|
|
]
|
|
},
|
|
"path": {
|
|
"description": "Path manipulation utilities",
|
|
"required": true,
|
|
"functions": [
|
|
"join",
|
|
"resolve",
|
|
"basename",
|
|
"dirname",
|
|
"extname"
|
|
]
|
|
},
|
|
"JSON": {
|
|
"description": "JSON parsing and validation",
|
|
"required": true,
|
|
"functions": [
|
|
"parse",
|
|
"stringify"
|
|
]
|
|
},
|
|
"ajv": {
|
|
"description": "JSON Schema validator (Another JSON Schema Validator)",
|
|
"required": false,
|
|
"version": "^8.0.0",
|
|
"functions": [
|
|
"compile",
|
|
"validate"
|
|
]
|
|
}
|
|
},
|
|
"exports": {
|
|
"components": [],
|
|
"scripts": [
|
|
"validate_package",
|
|
"validate_metadata",
|
|
"validate_scripts",
|
|
"validate_types",
|
|
"validate_components",
|
|
"validate_tests",
|
|
"validate_storybook"
|
|
],
|
|
"types": [
|
|
"ValidationResult",
|
|
"ValidationError",
|
|
"ValidationWarning",
|
|
"PackageMetadata",
|
|
"ScriptFile",
|
|
"TypeDefinition",
|
|
"ComponentDefinition"
|
|
]
|
|
},
|
|
"tests": {
|
|
"suites": [
|
|
"tests/metadata.test.json"
|
|
]
|
|
}
|
|
}
|