ng2-charts-schematics
Version:
ng2-charts schematics collection for generating chart components
46 lines (45 loc) • 1.31 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"id": "id 1",
"title": "title 1",
"type": "object",
"description": "description 1",
"properties": {
"path": {
"type": "string",
"format": "path",
"description": "The path at which to create the component file, relative to the current workspace. Default is a folder with the same name as the component in the project root.",
"visible": false
},
"project": {
"type": "string",
"description": "The name of the project.",
"$default": {
"$source": "projectName"
}
},
"name": {
"type": "string",
"description": "The name of the component.",
"$default": {
"$source": "argv",
"index": 0
},
"x-prompt": "What name would you like to use for the component?"
},
"inlineTemplate": {
"description": "When true, includes template inline in the component.ts file. By default, an external template file is created and referenced in the component.ts file.",
"type": "boolean",
"default": false,
"alias": "t"
},
"module": {
"type": "string",
"description": "The declaring NgModule.",
"alias": "m"
}
},
"required": [
"name"
]
}