UNPKG

@ng-zen/cli

Version:

A CLI tool for generating customizable, modern Angular UI components using schematics.

56 lines (55 loc) 1.34 kB
{ "$schema": "http://json-schema.org/schema", "$id": "NgZenCliComponents", "title": "Schema to create Zen UI components", "type": "object", "description": "Adds Zen UI component 📦", "properties": { "currentDirectory": { "description": "Base path from working directory", "type": "string", "format": "path", "hidden": true, "$default": { "$source": "workingDirectory" }, "readOnly": true }, "path": { "description": "Relative subpath to append to rootPath", "type": "string", "$default": { "$source": "argv", "index": 0 } }, "components": { "description": "Select components to generate", "type": "array", "items": { "type": "string", "enum": [ "avatar", "button", "checkbox", "divider", "form-control", "icon", "input", "skeleton", "switch", "textarea" ] }, "multiselect": true, "minItems": 1, "x-prompt": "Which component(s) should be generated?" }, "stories": { "description": "Include component's stories for better documentation and testing", "type": "boolean", "default": false } }, "required": ["components"] }