UNPKG

1.33 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/draft-07/schema",
3 "title": "Custom webpack extract-i18n schema for Build Facade",
4 "description": "Extract i18n target options",
5 "type": "object",
6 "properties": {
7 "browserTarget": {
8 "type": "string",
9 "description": "A browser builder target to extract i18n messages in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
10 "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
11 },
12 "format": {
13 "type": "string",
14 "description": "Output format for the generated file.",
15 "default": "xlf",
16 "enum": [
17 "xmb",
18 "xlf",
19 "xlif",
20 "xliff",
21 "xlf2",
22 "xliff2",
23 "json",
24 "arb",
25 "legacy-migrate"
26 ]
27 },
28 "progress": {
29 "type": "boolean",
30 "description": "Log progress to the console.",
31 "default": true
32 },
33 "outputPath": {
34 "type": "string",
35 "description": "Path where output will be placed."
36 },
37 "outFile": {
38 "type": "string",
39 "description": "Name of the file to output."
40 }
41 },
42 "additionalProperties": false,
43 "required": [
44 "browserTarget"
45 ],
46 "$id": "BuildCustomWebpackExtractI18nSchema"
47}
\No newline at end of file