UNPKG

@huameow/schematics

Version:

huameow - modern, fast, powerful web framework (@schematics)

44 lines (43 loc) 1.1 kB
{ "$schema": "http://json-schema.org/schema", "id": "SchematicsApplication", "title": "Application Options Schema", "type": "object", "properties": { "name": { "type": "string", "description": "The name of the controller.", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What name would you like to use for the controller?" }, "path": { "type": "string", "format": "path", "description": "The path to create the controller." }, "language": { "type": "string", "description": "Nest controller language (ts/js)." }, "sourceRoot": { "type": "string", "description": "Nest controller source root directory." }, "skipRouter": { "description": "Flag to skip the module import.", "default": false }, "flat": { "default": false, "description": "Flag to indicate if a directory is created." }, "spec": { "default": true, "description": "Specifies if a spec file is generated." } }, "required": ["name"] }