aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular.json
diff options
context:
space:
mode:
Diffstat (limited to 'client/angular.json')
-rw-r--r--client/angular.json191
1 files changed, 181 insertions, 10 deletions
diff --git a/client/angular.json b/client/angular.json
index 477cd597f..d9cee9bac 100644
--- a/client/angular.json
+++ b/client/angular.json
@@ -7,11 +7,111 @@
7 "root": "", 7 "root": "",
8 "sourceRoot": "src", 8 "sourceRoot": "src",
9 "projectType": "application", 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 },
10 "architect": { 110 "architect": {
11 "build": { 111 "build": {
12 "builder": "@angular-devkit/build-angular:browser", 112 "builder": "@angular-devkit/build-angular:browser",
13 "options": { 113 "options": {
14 "deployUrl": "client/", 114 "aot": true,
15 "outputPath": "dist", 115 "outputPath": "dist",
16 "index": "src/index.html", 116 "index": "src/index.html",
17 "main": "src/main.ts", 117 "main": "src/main.ts",
@@ -64,6 +164,12 @@
64 ] 164 ]
65 }, 165 },
66 "hmr": { 166 "hmr": {
167 "budgets": [
168 {
169 "type": "anyComponentStyle",
170 "maximumWarning": "6kb"
171 }
172 ],
67 "fileReplacements": [ 173 "fileReplacements": [
68 { 174 {
69 "replace": "src/environments/environment.ts", 175 "replace": "src/environments/environment.ts",
@@ -72,6 +178,12 @@
72 ] 178 ]
73 }, 179 },
74 "e2e": { 180 "e2e": {
181 "budgets": [
182 {
183 "type": "anyComponentStyle",
184 "maximumWarning": "6kb"
185 }
186 ],
75 "fileReplacements": [ 187 "fileReplacements": [
76 { 188 {
77 "replace": "src/environments/environment.ts", 189 "replace": "src/environments/environment.ts",
@@ -79,12 +191,74 @@
79 } 191 }
80 ] 192 ]
81 }, 193 },
82 "fr_FR": { 194 "hu-HU": {
83 "aot": true, 195 "localize": [ "hu" ]
84 "outputPath": "dist/PeerTube-fr_FR", 196 },
85 "i18nFile": "src/i18n/messages.fr_FR.xlf", 197 "th-TH": {
86 "i18nFormat": "xlf", 198 "localize": [ "th" ]
87 "i18nLocale": "fr_FR" 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" ]
88 } 262 }
89 } 263 }
90 }, 264 },
@@ -106,9 +280,6 @@
106 "e2e": { 280 "e2e": {
107 "browserTarget": "PeerTube:build:e2e", 281 "browserTarget": "PeerTube:build:e2e",
108 "proxyConfig": "e2e/proxy.config.json" 282 "proxyConfig": "e2e/proxy.config.json"
109 },
110 "fr_FR": {
111 "browserTarget": "PeerTube:build:fr_FR"
112 } 283 }
113 } 284 }
114 }, 285 },