@o3r/localization
Version:
This module provides a runtime dynamic language/translation support and debug tools.
63 lines (62 loc) • 1.74 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "LocalizationExtractorBuilderSchema",
"title": "Localization builder",
"description": "Localization builder options",
"properties": {
"tsConfig": {
"type": "string",
"description": "Typescript configuration file to build the application",
"default": "tsconfig.json"
},
"extraFilePatterns": {
"type": "array",
"items": {
"type": "string"
},
"description": "Path patterns of files to add to the generated metadata",
"default": []
},
"ignoreDuplicateKeys": {
"type": "boolean",
"description": "If true, extraction process is not interrupted in case of duplicate keys",
"default": false
},
"libraries": {
"type": "array",
"description": "List of libraries imported",
"items": {
"type": "string"
},
"default": []
},
"outputFile": {
"type": "string",
"description": "Path to the output file",
"default": "localisation.metadata.json"
},
"watch": {
"type": "boolean",
"description": "Enable watch mode",
"default": false
},
"inline": {
"type": "boolean",
"description": "Write metadata inline",
"default": false
},
"sortKeys": {
"type": "boolean",
"description": "Sort metadata alphabetically by keys",
"default": false
},
"strictMode": {
"type": "boolean",
"description": "If activated, this option will fail when any property not supported by the CMS is found, it will be ignored if not activated",
"default": false
}
},
"additionalProperties": false,
"required": []
}