@ng-zen/cli
Version:
A CLI tool for generating customizable, modern Angular UI components using schematics.
31 lines (30 loc) • 931 B
JSON
{
"$schema": "http://json-schema.org/schema",
"$id": "NgZenCliComponents",
"title": "Schema to create Zen UI components",
"type": "object",
"description": "Adds Zen UI component 📦",
"properties": {
"components": {
"description": "Select component to generate (e.g: --components=avatar pin)",
"type": "array",
"items": {
"type": "string",
"enum": ["avatar", "button", "checkbox", "divider", "input", "skeleton", "switch", "textarea"]
},
"multiselect": true,
"x-prompt": "Which component should be generated?"
},
"path": {
"description": "Where should be created the components",
"type": "string",
"format": "path",
"default": "/projects/ng-zen/components"
},
"stories": {
"description": "Include component's stories for better documentation and testing",
"type": "boolean",
"default": false
}
}
}