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