Translated using Weblate (Polish)
[oweals/peertube.git] / client / angular.json
1 {
2   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3   "version": 1,
4   "newProjectRoot": "projects",
5   "projects": {
6     "PeerTube": {
7       "root": "",
8       "sourceRoot": "src",
9       "projectType": "application",
10       "i18n": {
11         "sourceLocale": {
12           "code": "en",
13           "baseHref": "/client/en-US/"
14         },
15         "locales": {
16           "hu": {
17             "translation": "src/locale/angular.hu-HU.xlf",
18             "baseHref": "/client/hu-HU/"
19           },
20           "th": {
21             "translation": "src/locale/angular.th-TH.xlf",
22             "baseHref": "/client/th-TH/"
23           },
24           "fi": {
25             "translation": "src/locale/angular.fi-FI.xlf",
26             "baseHref": "/client/fi-FI/"
27           },
28           "nl": {
29             "translation": "src/locale/angular.nl-NL.xlf",
30             "baseHref": "/client/nl-NL/"
31           },
32           "gd": {
33             "translation": "src/locale/angular.gd.xlf",
34             "baseHref": "/client/gd/"
35           },
36           "el": {
37             "translation": "src/locale/angular.el-GR.xlf",
38             "baseHref": "/client/el-GR/"
39           },
40           "es": {
41             "translation": "src/locale/angular.es-ES.xlf",
42             "baseHref": "/client/es-ES/"
43           },
44           "oc": {
45             "translation": "src/locale/angular.oc.xlf",
46             "baseHref": "/client/oc/"
47           },
48           "pt": {
49             "translation": "src/locale/angular.pt-BR.xlf",
50             "baseHref": "/client/pt-BR/"
51           },
52           "pt-PT": {
53             "translation": "src/locale/angular.pt-PT.xlf",
54             "baseHref": "/client/pt-PT/"
55           },
56           "sv": {
57             "translation": "src/locale/angular.sv-SE.xlf",
58             "baseHref": "/client/sv-SE/"
59           },
60           "pl": {
61             "translation": "src/locale/angular.pl-PL.xlf",
62             "baseHref": "/client/pl-PL/"
63           },
64           "ru": {
65             "translation": "src/locale/angular.ru-RU.xlf",
66             "baseHref": "/client/ru-RU/"
67           },
68           "zh-Hans": {
69             "translation": "src/locale/angular.zh-Hans-CN.xlf",
70             "baseHref": "/client/zh-Hans-CN/"
71           },
72           "zh-Hant": {
73             "translation": "src/locale/angular.zh-Hant-TW.xlf",
74             "baseHref": "/client/zh-Hant-TW/"
75           },
76           "fr": {
77             "translation": "src/locale/angular.fr-FR.xlf",
78             "baseHref": "/client/fr-FR/"
79           },
80           "ja": {
81             "translation": "src/locale/angular.ja-JP.xlf",
82             "baseHref": "/client/ja-JP/"
83           },
84           "eu": {
85             "translation": "src/locale/angular.eu-ES.xlf",
86             "baseHref": "/client/eu-ES/"
87           },
88           "ca": {
89             "translation": "src/locale/angular.ca-ES.xlf",
90             "baseHref": "/client/ca-ES/"
91           },
92           "cs": {
93             "translation": "src/locale/angular.cs-CZ.xlf",
94             "baseHref": "/client/cs-CZ/"
95           },
96           "eo": {
97             "translation": "src/locale/angular.eo.xlf",
98             "baseHref": "/client/eo/"
99           },
100           "de": {
101             "translation": "src/locale/angular.de-DE.xlf",
102             "baseHref": "/client/de-DE/"
103           },
104           "it": {
105             "translation": "src/locale/angular.it-IT.xlf",
106             "baseHref": "/client/it-IT/"
107           }
108         }
109       },
110       "architect": {
111         "build": {
112           "builder": "@angular-devkit/build-angular:browser",
113           "options": {
114             "aot": true,
115             "outputPath": "dist",
116             "index": "src/index.html",
117             "main": "src/main.ts",
118             "tsConfig": "tsconfig.app.json",
119             "polyfills": "src/polyfills.ts",
120             "stylePreprocessorOptions": {
121               "includePaths": [
122                 "src/sass/include"
123               ]
124             },
125             "assets": [
126               "src/assets/images",
127               "src/manifest.webmanifest"
128             ],
129             "styles": [
130               "src/sass/application.scss"
131             ],
132             "scripts": []
133           },
134           "configurations": {
135             "production": {
136               "optimization": true,
137               "outputHashing": "all",
138               "sourceMap": false,
139               "extractCss": true,
140               "namedChunks": false,
141               "aot": true,
142               "extractLicenses": true,
143               "vendorChunk": false,
144               "buildOptimizer": true,
145               "serviceWorker": true,
146               "ngswConfigPath": "src/ngsw-config.json",
147               "budgets": [
148                 {
149                   "type": "initial",
150                   "maximumWarning": "2mb",
151                   "maximumError": "5mb"
152                 },
153                 {
154                   "type": "anyComponentStyle",
155                   "maximumWarning": "6kb",
156                   "maximumError": "50kb"
157                 }
158               ],
159               "fileReplacements": [
160                 {
161                   "replace": "src/environments/environment.ts",
162                   "with": "src/environments/environment.prod.ts"
163                 }
164               ]
165             },
166             "hmr": {
167               "budgets": [
168                 {
169                   "type": "anyComponentStyle",
170                   "maximumWarning": "6kb"
171                 }
172               ],
173               "fileReplacements": [
174                 {
175                   "replace": "src/environments/environment.ts",
176                   "with": "src/environments/environment.hmr.ts"
177                 }
178               ]
179             },
180             "e2e": {
181               "budgets": [
182                 {
183                   "type": "anyComponentStyle",
184                   "maximumWarning": "6kb"
185                 }
186               ],
187               "fileReplacements": [
188                 {
189                   "replace": "src/environments/environment.ts",
190                   "with": "src/environments/environment.e2e.ts"
191                 }
192               ]
193             },
194             "hu-HU": {
195               "localize": [ "hu" ]
196             },
197             "th-TH": {
198               "localize":  [ "th" ]
199             },
200             "fi-FI": {
201               "localize":  [ "fi" ]
202             },
203             "nl-NL": {
204               "localize":  [ "nl" ]
205             },
206             "gd": {
207               "localize":  [ "gd" ]
208             },
209             "el-GR": {
210               "localize":  [ "el" ]
211             },
212             "es-ES": {
213               "localize":  [ "es" ]
214             },
215             "oc": {
216               "localize":  [ "oc" ]
217             },
218             "pt-BR": {
219               "localize":  [ "pt" ]
220             },
221             "pt-PT": {
222               "localize":  [ "pt-PT" ]
223             },
224             "sv-SE": {
225               "localize":  [ "sv" ]
226             },
227             "pl-PL": {
228               "localize":  [ "pl" ]
229             },
230             "ru-RU": {
231               "localize":  [ "ru" ]
232             },
233             "zh-Hans-CN": {
234               "localize":  [ "zh-Hans" ]
235             },
236             "zh-Hant-TW": {
237               "localize":  [ "zh-Hant" ]
238             },
239             "fr-FR": {
240               "localize":  [ "fr" ]
241             },
242             "ja-JP": {
243               "localize":  [ "ja" ]
244             },
245             "eu-ES": {
246               "localize":  [ "eu" ]
247             },
248             "ca-ES": {
249               "localize":  [ "ca" ]
250             },
251             "cs-CZ": {
252               "localize":  [ "cs" ]
253             },
254             "eo": {
255               "localize":  [ "eo" ]
256             },
257             "de-DE": {
258               "localize":  [ "de" ]
259             },
260             "it-IT": {
261               "localize":  [ "it" ]
262             }
263           }
264         },
265         "serve": {
266           "builder": "@angular-devkit/build-angular:dev-server",
267           "options": {
268             "baseHref": "/",
269             "deployUrl": "client/",
270             "browserTarget": "PeerTube:build",
271             "proxyConfig": "proxy.config.json"
272           },
273           "configurations": {
274             "production": {
275               "browserTarget": "PeerTube:build:production"
276             },
277             "hmr": {
278               "browserTarget": "PeerTube:build:hmr"
279             },
280             "e2e": {
281               "browserTarget": "PeerTube:build:e2e",
282               "proxyConfig": "e2e/proxy.config.json"
283             }
284           }
285         },
286         "extract-i18n": {
287           "builder": "@angular-devkit/build-angular:extract-i18n",
288           "options": {
289             "browserTarget": "PeerTube:build"
290           }
291         },
292         "test": {
293           "builder": "@angular-devkit/build-angular:karma",
294           "options": {
295             "main": "src/test.ts",
296             "karmaConfig": "./karma.conf.js",
297             "polyfills": "src/polyfills.ts",
298             "tsConfig": "src/tsconfig.spec.json",
299             "scripts": [],
300             "styles": [
301               "src/sass/application.scss"
302             ],
303             "assets": [
304               "src/assets/images",
305               "src/manifest.webmanifest"
306             ]
307           }
308         },
309         "lint": {
310           "builder": "@angular-devkit/build-angular:tslint",
311           "options": {
312             "tsConfig": [
313               "tsconfig.app.json"
314             ],
315             "exclude": [
316               "**/node_modules/**"
317             ]
318           }
319         },
320         "xliffmerge": {
321           "builder": "@ngx-i18nsupport/tooling:xliffmerge",
322           "options": {
323             "xliffmergeOptions": {
324               "i18nFormat": "xlf",
325               "srcDir": "src/locale",
326               "genDir": "src/locale",
327               "i18nBaseFile": "angular",
328               "defaultLanguage": "en-US",
329               "languages": [
330                 "ar-001",
331                 "ca-ES",
332                 "cs-CZ",
333                 "da-DK",
334                 "de-DE",
335                 "el-GR",
336                 "en-GB",
337                 "en-US",
338                 "eo",
339                 "es-ES",
340                 "eu-ES",
341                 "fa-IR",
342                 "fi-FI",
343                 "fr-FR",
344                 "gd",
345                 "gl-ES",
346                 "hu-HU",
347                 "it-IT",
348                 "ja-JP",
349                 "jbo",
350                 "ko-KR",
351                 "lt-LT",
352                 "nb-NO",
353                 "nl-NL",
354                 "oc",
355                 "pl-PL",
356                 "pt-BR",
357                 "pt-PT",
358                 "ru-RU",
359                 "sk-SK",
360                 "sl-SI",
361                 "sv-SE",
362                 "ta",
363                 "th-TH",
364                 "tr-TR",
365                 "uk-UA",
366                 "vi-VN",
367                 "zh-Hans-CN",
368                 "zh-Hant-TW"
369               ]
370             }
371           }
372         }
373       }
374     },
375     "PeerTube-e2e": {
376       "root": "e2e/",
377       "sourceRoot": "",
378       "projectType": "application",
379       "architect": {
380         "e2e": {
381           "builder": "@angular-devkit/build-angular:protractor",
382           "options": {
383             "protractorConfig": "e2e/protractor.conf.js",
384             "devServerTarget": "PeerTube:serve:e2e"
385           },
386           "configurations": {
387             "local": {
388               "protractorConfig": "e2e/local-protractor.conf.js"
389             }
390           }
391         },
392         "lint": {
393           "builder": "@angular-devkit/build-angular:tslint",
394           "options": {
395             "tsConfig": [
396               "e2e/tsconfig.e2e.json"
397             ],
398             "exclude": [
399               "**/node_modules/**"
400             ]
401           }
402         }
403       }
404     }
405   },
406   "defaultProject": "PeerTube",
407   "schematics": {
408     "@schematics/angular:component": {
409       "prefix": "app",
410       "styleext": "scss"
411     },
412     "@schematics/angular:directive": {
413       "prefix": "app"
414     }
415   }
416 }