@delon/cli
Version:
Schematics for ng-alain
52 lines (51 loc) • 1.21 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"id": "SchematicsAngularService",
"title": "Angular Service Options Schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the service."
},
"path": {
"type": "string",
"format": "path",
"description": "The path to create the service.",
"default": "app",
"visible": false
},
"sourceDir": {
"type": "string",
"format": "path",
"description": "The path of the source directory.",
"default": "src",
"visible": false
},
"appRoot": {
"type": "string",
"format": "path",
"description": "The root of the application.",
"visible": false
},
"flat": {
"type": "boolean",
"default": true,
"description": "Flag to indicate if a dir is created."
},
"spec": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
},
"module": {
"type": "string",
"default": "",
"description": "Allows specification of the providing module.",
"alias": "m"
}
},
"required": [
"name"
]
}