@necord/schematics
Version:
A collection of schematics for Necord projects with NestJS
31 lines (30 loc) • 666 B
JSON
{
"properties": {
"name": {
"type": "string",
"minLength": 1,
"x-prompt": "What is the questions set name?"
},
"path": {
"type": "string",
"format": "path",
"description": "The path to create the service."
},
"sourceRoot": {
"type": "string",
"description": "Nest service source root directory."
},
"flat": {
"type": "boolean",
"default": false,
"description": "Flag to indicate if a directory is created.",
"x-prompt": "Create a directory?"
},
"spec": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated.",
"x-prompt": "Generate spec file as well?"
}
}
}