UNPKG

ng-matero

Version:
80 lines (79 loc) 2 kB
{ "$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, "x-user-analytics": 17 }, "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" }, "lintFix": { "type": "boolean", "default": false, "description": "When true, applies lint fixes after generating the module.", "x-user-analytics": 15 }, "standalone": { "type": "boolean", "default": true, "description": "Whether the generated module is standalone." } }, "required": [ "name" ] }