UNPKG

@nestjs/schematics

Version:

The generators behind the Nest CLI: scaffold NestJS applications, libraries, modules, controllers, services and CRUD resources.

47 lines (46 loc) • 1.23 kB
{ "$schema": "http://json-schema.org/schema", "$id": "SchematicsNestSubApp", "title": "Nest SubApp Options Schema", "type": "object", "properties": { "name": { "type": "string", "description": "The name of the application.", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What name would you like to use for the app?" }, "language": { "type": "string", "description": "Nest application language." }, "path": { "type": "string", "format": "path", "description": "The path to create the application." }, "rootDir": { "type": "string", "format": "path", "description": "Applications root directory." }, "spec": { "type": "boolean", "description": "Specifies if spec files are generated. Defaults to whether the workspace has a test runner." }, "specFileSuffix": { "type": "string", "default": "spec", "description": "Specifies the file suffix of spec files." }, "format": { "type": "boolean", "default": false, "description": "Format generated files using Prettier if available." } }, "required": ["name"] }