UNPKG

@progress/kendo-angular-schematics

Version:

Kendo UI Schematics for Angular

97 lines (96 loc) 2.61 kB
{ "$schema": "http://json-schema.org/schema", "$id": "component", "title": "Create a Kendo Angular Base component", "type": "object", "properties": { "name": { "type": "string", "description": "Library name" }, "sourceDir": { "type": "string", "format": "path", "description": "The path of the source directory.", "default": "src", "alias": "sd", "visible": false }, "path": { "type": "string", "format": "path", "description": "The path to create the component.", "default": "app", "visible": false }, "appRoot": { "type": "string", "format": "path", "description": "The root of the application.", "visible": false }, "flat": { "type": "boolean", "description": "Flag to indicate if a dir is created.", "default": false }, "prefix": { "type": "string", "format": "html-selector", "description": "The prefix to apply to generated selectors.", "alias": "p" }, "selector": { "type": "string", "format": "html-selector", "description": "The selector to use for the component." }, "inlineTemplate": { "description": "Specifies if the template will be in the ts file.", "type": "boolean", "default": false, "alias": "it" }, "inlineStyle": { "description": "Specifies if the style will be in the ts file.", "type": "boolean", "default": false, "alias": "s" }, "styleext": { "description": "The file extension to be used for style files.", "type": "string", "default": "css" }, "viewEncapsulation": { "description": "Specifies the view encapsulation strategy.", "enum": ["Emulated", "Native", "None"], "type": "string", "alias": "v" }, "changeDetection": { "description": "Specifies the change detection strategy.", "enum": ["Default", "OnPush"], "type": "string", "default": "Default" }, "module": { "type": "string", "description": "Allows specification of the declaring module.", "alias": "m" }, "export": { "type": "boolean", "default": false, "description": "Specifies if declaring module exports the component." }, "skipImport": { "type": "boolean", "description": "Flag to skip the module import.", "default": false } }, "required": [ "name" ] }