]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/angular.json
Focus player after fullscreen
[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": {
66357162 134 "localize": true,
54c3a22f
C
135 "outputPath": "dist",
136 "index": "src/index.html",
137 "main": "src/main.ts",
1d4591fd 138 "tsConfig": "tsconfig.json",
54c3a22f 139 "polyfills": "src/polyfills.ts",
662351e6 140 "baseHref": "/",
54c3a22f
C
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 153 "allowedCommonJsDependencies": [
42c84e41 154 "qrcode",
d88c9eb9 155 "chart.js",
42c84e41 156 "htmlparser2",
fc418874 157 "markdown-it-emoji/light",
f8ddccf2 158 "linkifyjs/lib/linkify-html",
e1a570ab 159 "linkifyjs/lib/plugins/mention",
d88c9eb9 160 "sanitize-html",
42c84e41 161 "debug",
1d4591fd 162 "@peertube/p2p-media-loader-hlsjs",
42c84e41 163 "video.js",
5351a058 164 "sha.js/sha1",
5cbb5399
C
165 "postcss",
166 "core-js/features/reflect"
d88c9eb9 167 ],
05ded92e
C
168 "scripts": [],
169 "vendorChunk": true,
170 "extractLicenses": false,
171 "buildOptimizer": false,
172 "sourceMap": true,
173 "optimization": false,
174 "namedChunks": true
54c3a22f
C
175 },
176 "configurations": {
177 "production": {
178 "optimization": true,
179 "outputHashing": "all",
180 "sourceMap": false,
54c3a22f 181 "namedChunks": false,
54c3a22f
C
182 "extractLicenses": true,
183 "vendorChunk": false,
184 "buildOptimizer": true,
a700f183
C
185 "serviceWorker": true,
186 "ngswConfigPath": "src/ngsw-config.json",
970ceac0
C
187 "budgets": [
188 {
189 "type": "initial",
970ceac0
C
190 "maximumWarning": "2mb",
191 "maximumError": "5mb"
970ceac0
C
192 },
193 {
194 "type": "anyComponentStyle",
195 "maximumWarning": "6kb",
db5814c0 196 "maximumError": "100kb"
970ceac0
C
197 }
198 ],
54c3a22f
C
199 "fileReplacements": [
200 {
201 "replace": "src/environments/environment.ts",
202 "with": "src/environments/environment.prod.ts"
203 }
204 ]
74af5a83 205 },
27bc9586 206 "ar-locale": {
9df52d66
C
207 "localize": [
208 "ar"
209 ],
27bc9586
C
210 "budgets": [
211 {
212 "type": "anyComponentStyle",
213 "maximumWarning": "6kb"
214 }
215 ],
216 "fileReplacements": [
217 {
218 "replace": "src/environments/environment.ts",
219 "with": "src/environments/environment.hmr.ts"
220 }
221 ]
222 },
74af5a83 223 "hmr": {
66357162 224 "localize": false,
2f5d2ec5
C
225 "budgets": [
226 {
227 "type": "anyComponentStyle",
228 "maximumWarning": "6kb"
229 }
230 ],
74af5a83
C
231 "fileReplacements": [
232 {
233 "replace": "src/environments/environment.ts",
234 "with": "src/environments/environment.hmr.ts"
235 }
236 ]
54c3a22f
C
237 }
238 }
239 },
240 "serve": {
241 "builder": "@angular-devkit/build-angular:dev-server",
242 "options": {
446d9f8c
C
243 "browserTarget": "PeerTube:build",
244 "proxyConfig": "proxy.config.json"
54c3a22f
C
245 },
246 "configurations": {
247 "production": {
248 "browserTarget": "PeerTube:build:production"
74af5a83
C
249 },
250 "hmr": {
251 "browserTarget": "PeerTube:build:hmr"
252 },
27bc9586
C
253 "ar-locale": {
254 "browserTarget": "PeerTube:build:ar-locale"
54c3a22f
C
255 }
256 }
257 },
258 "extract-i18n": {
259 "builder": "@angular-devkit/build-angular:extract-i18n",
260 "options": {
261 "browserTarget": "PeerTube:build"
262 }
263 },
264 "test": {
265 "builder": "@angular-devkit/build-angular:karma",
266 "options": {
267 "main": "src/test.ts",
268 "karmaConfig": "./karma.conf.js",
269 "polyfills": "src/polyfills.ts",
270 "tsConfig": "src/tsconfig.spec.json",
271 "scripts": [],
272 "styles": [
273 "src/sass/application.scss"
274 ],
275 "assets": [
276 "src/assets/images",
fcc7c060 277 "src/manifest.webmanifest"
54c3a22f
C
278 ]
279 }
280 },
281 "lint": {
9df52d66 282 "builder": "@angular-eslint/builder:lint",
54c3a22f 283 "options": {
9df52d66 284 "lintFilePatterns": [
6d210220 285 "e2e/**/*.ts",
9df52d66
C
286 "src/**/*.ts",
287 "src/**/*.html"
54c3a22f
C
288 ]
289 }
290 }
291 }
54c3a22f
C
292 }
293 },
294 "defaultProject": "PeerTube",
295 "schematics": {
296 "@schematics/angular:component": {
297 "prefix": "app",
583eb04b 298 "style": "scss"
54c3a22f
C
299 },
300 "@schematics/angular:directive": {
301 "prefix": "app"
302 }
303 }
17c49e60 304}