ng-matero
Version:
Angular Material admin template
82 lines (81 loc) • 2.1 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "SchematicsNgMateroModule",
"title": "Ng-Matero Module Options Schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the module.",
"$default": {
"$source": "argv",
"index": 0
},
"x-prompt": "What should be the name of the module?"
},
"path": {
"type": "string",
"format": "path",
"description": "The path to create the module.",
"visible": false
},
"project": {
"type": "string",
"description": "The name of the project.",
"$default": {
"$source": "projectName"
}
},
"routing": {
"type": "boolean",
"description": "When true, creates a routing module.",
"default": true
},
"routingScope": {
"enum": [
"Child",
"Root"
],
"type": "string",
"description": "The scope for the new routing module.",
"default": "Child"
},
"route": {
"type": "string",
"description": "Creates lazy loaded routing module. Requires --module option.",
"alias": "r"
},
"flat": {
"type": "boolean",
"description": "When true, creates the new files at the top level of the current project root. ",
"default": false
},
"moduleRoot": {
"type": "string",
"description": "The root of feature modules.",
"default": "routes"
},
"module": {
"type": "string",
"description": "The declaring NgModule.",
"alias": "m"
},
"standalone": {
"type": "boolean",
"default": true,
"description": "Whether the generated module is standalone."
},
"typeSeparator": {
"type": "string",
"default": "-",
"enum": [
"-",
"."
],
"description": "The separator character to use before the type within the generated file's name. For example, if you set the option to `.`, the file will be named `example.module.ts`."
}
},
"required": [
"name"
]
}