ng-alain
Version:
Schematics specific to ng-alain
85 lines (84 loc) • 2.36 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "SchematicsNgAlainAdd",
"title": "NG-ALAIN Add Options Schema",
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "The name of the project name.",
"x-prompt": "In which project do you want to create NG-ALAIN? (If you enter project name, it means using in multiple-projects)"
},
"defaultLanguage": {
"type": "string",
"description": "Specify default language [https://ng-alain.com/docs/i18n].",
"default": "zh",
"x-prompt": {
"message": "Which default language would you like to use?",
"type": "list",
"items": [
{
"value": "zh",
"label": "简体中文 (zh)"
},
{
"value": "en",
"label": "English (en)"
},
{
"value": "zh-Hant",
"label": "繁体中文 (zh-Hant)"
},
{
"value": "tr-TR",
"label": "Turkish (tr-TR)"
},
{
"value": "pl-PL",
"label": "Polish (pl-PL)"
},
{
"value": "el-GR",
"label": "Greek (el-GR)"
},
{
"value": "ko-KR",
"label": "Korean (ko-KR)"
},
{
"value": "hr-HR",
"label": "Croatian (hr-HR)"
},
{
"value": "sl-SI",
"label": "Slovenian (sl-SI)"
}
]
}
},
"codeStyle": {
"type": "boolean",
"default": true,
"description": "Generate code style plugin",
"x-prompt": "Would you like to add code style plugin? (default: Y)"
},
"form": {
"type": "boolean",
"description": "Generate dynamic form (sf component) plugin",
"default": true,
"x-prompt": "Would you like to add dynamic form (sf component) plugin? (default: Y)"
},
"mock": {
"type": "boolean",
"description": "Generate mock plugin",
"default": true,
"x-prompt": "Would you like to add mock plugin? (default: Y)"
},
"i18n": {
"type": "boolean",
"description": "Generate i18n plugin",
"default": false,
"x-prompt": "Would you like to add i18n plugin? (default: N)"
}
}
}