@ngrx/schematics
Version:
NgRx Schematics for Angular
48 lines (47 loc) • 1.12 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"$id": "SchematicsNgRxData",
"title": "NgRx Data Options Schema",
"type": "object",
"properties": {
"name": {
"description": "The name of the data entity.",
"type": "string",
"$default": {
"$source": "argv",
"index": 0
}
},
"path": {
"type": "string",
"format": "path",
"description": "The path to create the service.",
"visible": false,
"$default": {
"$source": "workingDirectory"
}
},
"project": {
"type": "string",
"description": "The name of the project.",
"aliases": ["p"]
},
"skipTests": {
"type": "boolean",
"description": "When true, does not create test files.",
"default": false
},
"flat": {
"type": "boolean",
"default": true,
"description": "Flag to indicate if a dir is created."
},
"group": {
"type": "boolean",
"default": false,
"description": "Group the services within relative subfolders",
"aliases": ["g"]
}
},
"required": []
}