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 | "x-deprecated": "Use 'buildTarget' instead."
|
12 | },
|
13 | "buildTarget": {
|
14 | "type": "string",
|
15 | "description": "A 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`.",
|
16 | "pattern": "^[^:\\s]*:[^:\\s]*(:[^\\s]+)?$"
|
17 | },
|
18 | "format": {
|
19 | "type": "string",
|
20 | "description": "Output format for the generated file.",
|
21 | "default": "xlf",
|
22 | "enum": [
|
23 | "xmb",
|
24 | "xlf",
|
25 | "xlif",
|
26 | "xliff",
|
27 | "xlf2",
|
28 | "xliff2",
|
29 | "json",
|
30 | "arb",
|
31 | "legacy-migrate"
|
32 | ]
|
33 | },
|
34 | "progress": {
|
35 | "type": "boolean",
|
36 | "description": "Log progress to the console.",
|
37 | "default": true
|
38 | },
|
39 | "outputPath": {
|
40 | "type": "string",
|
41 | "description": "Path where output will be placed."
|
42 | },
|
43 | "outFile": {
|
44 | "type": "string",
|
45 | "description": "Name of the file to output."
|
46 | }
|
47 | },
|
48 | "additionalProperties": false,
|
49 | "$id": "BuildCustomWebpackExtractI18nSchema"
|
50 | } |
\ | No newline at end of file |