@o3r/core
Version:
Core of the Otter Framework
45 lines (44 loc) • 1.09 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "ngGenerateServiceSchematicsSchema",
"title": "Generate Otter Service",
"description": "ng generate Otter Service",
"properties": {
"projectName": {
"type": "string",
"description": "Project name",
"$default": {
"$source": "projectName"
}
},
"name": {
"type": "string",
"description": "Service name",
"x-prompt": "Service name?",
"minLength": 1,
"$default": {
"$source": "argv",
"index": 0
}
},
"featureName": {
"type": "string",
"description": "Name of the service feature",
"default": "base",
"x-prompt": "Service feature name?"
},
"path": {
"type": "string",
"description": "Directory containing the services"
},
"skipLinter": {
"type": "boolean",
"description": "Skip the linter process which includes EsLint and EditorConfig rules applying",
"default": false
}
},
"additionalProperties": true,
"required": [
"name"
]
}