]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/angular.json
Support hr locale
[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 },
55f0a7a7
C
20 "fa": {
21 "translation": "src/locale/angular.fa-IR.xlf",
22 "baseHref": "/client/fa-IR/"
23 },
361dcebc
C
24 "hu": {
25 "translation": "src/locale/angular.hu-HU.xlf",
8cc56c7f 26 "baseHref": "/client/hu-HU/"
361dcebc
C
27 },
28 "th": {
29 "translation": "src/locale/angular.th-TH.xlf",
8cc56c7f 30 "baseHref": "/client/th-TH/"
361dcebc
C
31 },
32 "fi": {
33 "translation": "src/locale/angular.fi-FI.xlf",
8cc56c7f 34 "baseHref": "/client/fi-FI/"
361dcebc
C
35 },
36 "nl": {
37 "translation": "src/locale/angular.nl-NL.xlf",
8cc56c7f 38 "baseHref": "/client/nl-NL/"
361dcebc
C
39 },
40 "gd": {
41 "translation": "src/locale/angular.gd.xlf",
8cc56c7f 42 "baseHref": "/client/gd/"
361dcebc
C
43 },
44 "el": {
45 "translation": "src/locale/angular.el-GR.xlf",
8cc56c7f 46 "baseHref": "/client/el-GR/"
361dcebc
C
47 },
48 "es": {
49 "translation": "src/locale/angular.es-ES.xlf",
8cc56c7f 50 "baseHref": "/client/es-ES/"
361dcebc 51 },
2a39506c
C
52 "oc": {
53 "translation": "src/locale/angular.oc.xlf",
54 "baseHref": "/client/oc/"
55 },
361dcebc
C
56 "pt": {
57 "translation": "src/locale/angular.pt-BR.xlf",
8cc56c7f 58 "baseHref": "/client/pt-BR/"
361dcebc
C
59 },
60 "pt-PT": {
61 "translation": "src/locale/angular.pt-PT.xlf",
8cc56c7f 62 "baseHref": "/client/pt-PT/"
361dcebc
C
63 },
64 "sv": {
65 "translation": "src/locale/angular.sv-SE.xlf",
8cc56c7f 66 "baseHref": "/client/sv-SE/"
361dcebc
C
67 },
68 "pl": {
69 "translation": "src/locale/angular.pl-PL.xlf",
8cc56c7f 70 "baseHref": "/client/pl-PL/"
361dcebc
C
71 },
72 "ru": {
73 "translation": "src/locale/angular.ru-RU.xlf",
8cc56c7f 74 "baseHref": "/client/ru-RU/"
361dcebc 75 },
f45aa01a
C
76 "sq": {
77 "translation": "src/locale/angular.sq.xlf",
78 "baseHref": "/client/sq/"
79 },
0f7195fa
C
80 "hr": {
81 "translation": "src/locale/angular.hr.xlf",
82 "baseHref": "/client/hr/"
83 },
361dcebc
C
84 "zh-Hans": {
85 "translation": "src/locale/angular.zh-Hans-CN.xlf",
8cc56c7f 86 "baseHref": "/client/zh-Hans-CN/"
361dcebc
C
87 },
88 "zh-Hant": {
89 "translation": "src/locale/angular.zh-Hant-TW.xlf",
8cc56c7f 90 "baseHref": "/client/zh-Hant-TW/"
361dcebc
C
91 },
92 "fr": {
93 "translation": "src/locale/angular.fr-FR.xlf",
8cc56c7f 94 "baseHref": "/client/fr-FR/"
361dcebc
C
95 },
96 "ja": {
97 "translation": "src/locale/angular.ja-JP.xlf",
8cc56c7f 98 "baseHref": "/client/ja-JP/"
361dcebc
C
99 },
100 "eu": {
101 "translation": "src/locale/angular.eu-ES.xlf",
8cc56c7f 102 "baseHref": "/client/eu-ES/"
361dcebc
C
103 },
104 "ca": {
105 "translation": "src/locale/angular.ca-ES.xlf",
8cc56c7f 106 "baseHref": "/client/ca-ES/"
361dcebc 107 },
c7444546
C
108 "gl": {
109 "translation": "src/locale/angular.gl-ES.xlf",
110 "baseHref": "/client/gl-ES/"
111 },
361dcebc
C
112 "cs": {
113 "translation": "src/locale/angular.cs-CZ.xlf",
8cc56c7f 114 "baseHref": "/client/cs-CZ/"
361dcebc
C
115 },
116 "eo": {
117 "translation": "src/locale/angular.eo.xlf",
8cc56c7f 118 "baseHref": "/client/eo/"
361dcebc
C
119 },
120 "de": {
121 "translation": "src/locale/angular.de-DE.xlf",
8cc56c7f 122 "baseHref": "/client/de-DE/"
361dcebc
C
123 },
124 "it": {
125 "translation": "src/locale/angular.it-IT.xlf",
8cc56c7f 126 "baseHref": "/client/it-IT/"
0bd558a0
C
127 },
128 "vi": {
129 "translation": "src/locale/angular.vi-VN.xlf",
130 "baseHref": "/client/vi-VN/"
131 },
132 "kab": {
133 "translation": "src/locale/angular.kab.xlf",
134 "baseHref": "/client/kab/"
66175ae8
C
135 },
136 "nb": {
137 "translation": "src/locale/angular.nb-NO.xlf",
138 "baseHref": "/client/nb-NO/"
139 },
4c1ce3d4
C
140 "tok": {
141 "translation": "src/locale/angular.tok.xlf",
142 "baseHref": "/client/tok/"
143 },
66175ae8
C
144 "nn": {
145 "translation": "src/locale/angular.nn.xlf",
146 "baseHref": "/client/nn/"
361dcebc
C
147 }
148 }
149 },
54c3a22f
C
150 "architect": {
151 "build": {
152 "builder": "@angular-devkit/build-angular:browser",
153 "options": {
66357162 154 "localize": true,
54c3a22f
C
155 "outputPath": "dist",
156 "index": "src/index.html",
157 "main": "src/main.ts",
1d4591fd 158 "tsConfig": "tsconfig.json",
54c3a22f 159 "polyfills": "src/polyfills.ts",
662351e6 160 "baseHref": "/",
54c3a22f
C
161 "stylePreprocessorOptions": {
162 "includePaths": [
163 "src/sass/include"
164 ]
165 },
166 "assets": [
167 "src/assets/images",
fcc7c060 168 "src/manifest.webmanifest"
54c3a22f
C
169 ],
170 "styles": [
171 "src/sass/application.scss"
172 ],
d88c9eb9 173 "allowedCommonJsDependencies": [
57a9b61a 174 "@cordobo/qrcode",
d88c9eb9 175 "chart.js",
42c84e41 176 "htmlparser2",
fc418874 177 "markdown-it-emoji/light",
f8ddccf2 178 "linkifyjs/lib/linkify-html",
e1a570ab 179 "linkifyjs/lib/plugins/mention",
d88c9eb9 180 "sanitize-html",
42c84e41 181 "debug",
1d4591fd 182 "@peertube/p2p-media-loader-hlsjs",
42c84e41 183 "video.js",
57a9b61a 184 "sha.js",
5cbb5399
C
185 "postcss",
186 "core-js/features/reflect"
d88c9eb9 187 ],
05ded92e
C
188 "scripts": [],
189 "vendorChunk": true,
190 "extractLicenses": false,
191 "buildOptimizer": false,
192 "sourceMap": true,
193 "optimization": false,
194 "namedChunks": true
54c3a22f
C
195 },
196 "configurations": {
197 "production": {
198 "optimization": true,
199 "outputHashing": "all",
200 "sourceMap": false,
54c3a22f 201 "namedChunks": false,
54c3a22f
C
202 "extractLicenses": true,
203 "vendorChunk": false,
204 "buildOptimizer": true,
a700f183
C
205 "serviceWorker": true,
206 "ngswConfigPath": "src/ngsw-config.json",
970ceac0
C
207 "budgets": [
208 {
209 "type": "initial",
970ceac0
C
210 "maximumWarning": "2mb",
211 "maximumError": "5mb"
970ceac0
C
212 },
213 {
214 "type": "anyComponentStyle",
215 "maximumWarning": "6kb",
db5814c0 216 "maximumError": "100kb"
970ceac0
C
217 }
218 ],
54c3a22f
C
219 "fileReplacements": [
220 {
221 "replace": "src/environments/environment.ts",
222 "with": "src/environments/environment.prod.ts"
223 }
224 ]
74af5a83 225 },
27bc9586 226 "ar-locale": {
9df52d66
C
227 "localize": [
228 "ar"
229 ],
27bc9586
C
230 "budgets": [
231 {
232 "type": "anyComponentStyle",
233 "maximumWarning": "6kb"
234 }
235 ],
236 "fileReplacements": [
237 {
238 "replace": "src/environments/environment.ts",
239 "with": "src/environments/environment.hmr.ts"
240 }
241 ]
242 },
74af5a83 243 "hmr": {
66357162 244 "localize": false,
2f5d2ec5
C
245 "budgets": [
246 {
247 "type": "anyComponentStyle",
248 "maximumWarning": "6kb"
249 }
250 ],
74af5a83
C
251 "fileReplacements": [
252 {
253 "replace": "src/environments/environment.ts",
254 "with": "src/environments/environment.hmr.ts"
255 }
256 ]
54c3a22f
C
257 }
258 }
259 },
260 "serve": {
261 "builder": "@angular-devkit/build-angular:dev-server",
262 "options": {
446d9f8c
C
263 "browserTarget": "PeerTube:build",
264 "proxyConfig": "proxy.config.json"
54c3a22f
C
265 },
266 "configurations": {
267 "production": {
268 "browserTarget": "PeerTube:build:production"
74af5a83
C
269 },
270 "hmr": {
271 "browserTarget": "PeerTube:build:hmr"
272 },
27bc9586
C
273 "ar-locale": {
274 "browserTarget": "PeerTube:build:ar-locale"
54c3a22f
C
275 }
276 }
277 },
278 "extract-i18n": {
279 "builder": "@angular-devkit/build-angular:extract-i18n",
280 "options": {
281 "browserTarget": "PeerTube:build"
282 }
283 },
284 "test": {
285 "builder": "@angular-devkit/build-angular:karma",
286 "options": {
287 "main": "src/test.ts",
288 "karmaConfig": "./karma.conf.js",
289 "polyfills": "src/polyfills.ts",
290 "tsConfig": "src/tsconfig.spec.json",
291 "scripts": [],
292 "styles": [
293 "src/sass/application.scss"
294 ],
295 "assets": [
296 "src/assets/images",
fcc7c060 297 "src/manifest.webmanifest"
54c3a22f
C
298 ]
299 }
300 },
301 "lint": {
9df52d66 302 "builder": "@angular-eslint/builder:lint",
54c3a22f 303 "options": {
9df52d66 304 "lintFilePatterns": [
6d210220 305 "e2e/**/*.ts",
9df52d66
C
306 "src/**/*.ts",
307 "src/**/*.html"
54c3a22f
C
308 ]
309 }
310 }
311 }
54c3a22f
C
312 }
313 },
314 "defaultProject": "PeerTube",
315 "schematics": {
316 "@schematics/angular:component": {
2accfdd8
C
317 "prefix": "my",
318 "style": "scss",
319 "skipTests": true,
320 "flat": true
54c3a22f
C
321 },
322 "@schematics/angular:directive": {
2accfdd8 323 "prefix": "my"
54c3a22f
C
324 }
325 }
17c49e60 326}