UNPKG

ohayolibs

Version:

Ohayo is a set of essential modules for ohayojp.

96 lines (95 loc) 2.56 kB
{ "$schema": "http://json-schema.org/schema", "id": "SchematicsNgOhayoAdd", "title": "NgOhayo Add Options Schema", "type": "object", "properties": { "defaultLanguage": { "type": "string", "description": "Specify default language [https://ohayojp.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)" } ] } }, "hmr": { "type": "boolean", "description": "Generates hmr files and configuration", "default": true, "x-prompt": "Would you like to add hmr plugin? (default: Y)" }, "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)" }, "npm": { "type": "boolean", "description": "Generates .npmrc proxy to taobao.", "default": false }, "yarn": { "type": "boolean", "description": "Generates .yarnrc proxy to taobao.", "default": false } } }