@feeloor/ng-extension-schematics
Version:
Angular extension schematics
43 lines (42 loc) • 1.08 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"id": "SchematicsAngularServiceWithBarrels",
"title": "Angular Service with Barrel",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the service.",
"$default": {
"$source": "argv",
"index": 0
}
},
"path": {
"type": "string",
"format": "path",
"description": "The path to create the service.",
"visible": false,
"default": "src/app"
},
"project": {
"type": "string",
"description": "The name of the project.",
"$default": {
"$source": "projectName"
}
},
"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."
}
},
"required": [],
"additionalProperties": false
}