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