PeerTube/client/angular.json

414 lines
11 KiB
JSON

{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"PeerTube": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"i18n": {
"sourceLocale": "en",
"locales": {
"hu": {
"translation": "src/locale/angular.hu-HU.xlf",
"baseHref": "/"
},
"th": {
"translation": "src/locale/angular.th-TH.xlf",
"baseHref": "/"
},
"fi": {
"translation": "src/locale/angular.fi-FI.xlf",
"baseHref": "/"
},
"nl": {
"translation": "src/locale/angular.nl-NL.xlf",
"baseHref": "/"
},
"gd": {
"translation": "src/locale/angular.gd.xlf",
"baseHref": "/"
},
"el": {
"translation": "src/locale/angular.el-GR.xlf",
"baseHref": "/"
},
"es": {
"translation": "src/locale/angular.es-ES.xlf",
"baseHref": "/"
},
"oc": {
"translation": "src/locale/angular.oc.xlf",
"baseHref": "/"
},
"pt": {
"translation": "src/locale/angular.pt-BR.xlf",
"baseHref": "/"
},
"pt-PT": {
"translation": "src/locale/angular.pt-PT.xlf",
"baseHref": "/"
},
"sv": {
"translation": "src/locale/angular.sv-SE.xlf",
"baseHref": "/"
},
"pl": {
"translation": "src/locale/angular.pl-PL.xlf",
"baseHref": "/"
},
"ru": {
"translation": "src/locale/angular.ru-RU.xlf",
"baseHref": "/"
},
"zh-Hans": {
"translation": "src/locale/angular.zh-Hans-CN.xlf",
"baseHref": "/"
},
"zh-Hant": {
"translation": "src/locale/angular.zh-Hant-TW.xlf",
"baseHref": "/"
},
"fr": {
"translation": "src/locale/angular.fr-FR.xlf",
"baseHref": "/"
},
"ja": {
"translation": "src/locale/angular.ja-JP.xlf",
"baseHref": "/"
},
"eu": {
"translation": "src/locale/angular.eu-ES.xlf",
"baseHref": "/"
},
"ca": {
"translation": "src/locale/angular.ca-ES.xlf",
"baseHref": "/"
},
"cs": {
"translation": "src/locale/angular.cs-CZ.xlf",
"baseHref": "/"
},
"eo": {
"translation": "src/locale/angular.eo.xlf",
"baseHref": "/"
},
"de": {
"translation": "src/locale/angular.de-DE.xlf",
"baseHref": "/"
},
"it": {
"translation": "src/locale/angular.it-IT.xlf",
"baseHref": "/"
}
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "tsconfig.app.json",
"polyfills": "src/polyfills.ts",
"stylePreprocessorOptions": {
"includePaths": [
"src/sass/include"
]
},
"assets": [
"src/assets/images",
"src/manifest.webmanifest"
],
"styles": [
"src/sass/application.scss"
],
"scripts": []
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"serviceWorker": true,
"ngswConfigPath": "src/ngsw-config.json",
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
]
},
"hmr": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.hmr.ts"
}
]
},
"e2e": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.e2e.ts"
}
]
},
"hu-HU": {
"localize": [ "hu" ]
},
"th-TH": {
"localize": [ "th" ]
},
"fi-FI": {
"localize": [ "fi" ]
},
"nl-NL": {
"localize": [ "nl" ]
},
"gd": {
"localize": [ "gd" ]
},
"el-GR": {
"localize": [ "el" ]
},
"es-ES": {
"localize": [ "es" ]
},
"oc": {
"localize": [ "oc" ]
},
"pt-BR": {
"localize": [ "pt" ]
},
"pt-PT": {
"localize": [ "pt-PT" ]
},
"sv-SE": {
"localize": [ "sv" ]
},
"pl-PL": {
"localize": [ "pl" ]
},
"ru-RU": {
"localize": [ "ru" ]
},
"zh-Hans-CN": {
"localize": [ "zh-Hans" ]
},
"zh-Hant-TW": {
"localize": [ "zh-Hant" ]
},
"fr-FR": {
"localize": [ "fr" ]
},
"ja-JP": {
"localize": [ "ja" ]
},
"eu-ES": {
"localize": [ "eu" ]
},
"ca-ES": {
"localize": [ "ca" ]
},
"cs-CZ": {
"localize": [ "cs" ]
},
"eo": {
"localize": [ "eo" ]
},
"de-DE": {
"localize": [ "de" ]
},
"it-IT": {
"localize": [ "it" ]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"baseHref": "/",
"deployUrl": "client/",
"browserTarget": "PeerTube:build",
"proxyConfig": "proxy.config.json"
},
"configurations": {
"production": {
"browserTarget": "PeerTube:build:production"
},
"hmr": {
"browserTarget": "PeerTube:build:hmr"
},
"e2e": {
"browserTarget": "PeerTube:build:e2e",
"proxyConfig": "e2e/proxy.config.json"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "PeerTube:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"karmaConfig": "./karma.conf.js",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"scripts": [],
"styles": [
"src/sass/application.scss"
],
"assets": [
"src/assets/images",
"src/manifest.webmanifest"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"tsconfig.app.json"
],
"exclude": [
"**/node_modules/**"
]
}
},
"xliffmerge": {
"builder": "@ngx-i18nsupport/tooling:xliffmerge",
"options": {
"xliffmergeOptions": {
"i18nFormat": "xlf",
"srcDir": "src/locale",
"genDir": "src/locale",
"i18nBaseFile": "angular",
"defaultLanguage": "en-US",
"languages": [
"ar-001",
"ca-ES",
"cs-CZ",
"da-DK",
"de-DE",
"el-GR",
"en-GB",
"en-US",
"eo",
"es-ES",
"eu-ES",
"fa-IR",
"fi-FI",
"fr-FR",
"gd",
"gl-ES",
"hu-HU",
"it-IT",
"ja-JP",
"jbo",
"ko-KR",
"lt-LT",
"nb-NO",
"nl-NL",
"oc",
"pl-PL",
"pt-BR",
"pt-PT",
"ru-RU",
"sk-SK",
"sl-SI",
"sv-SE",
"ta",
"th-TH",
"tr-TR",
"uk-UA",
"vi-VN",
"zh-Hans-CN",
"zh-Hant-TW"
]
}
}
}
}
},
"PeerTube-e2e": {
"root": "e2e/",
"sourceRoot": "",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "PeerTube:serve:e2e"
},
"configurations": {
"local": {
"protractorConfig": "e2e/local-protractor.conf.js"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"e2e/tsconfig.e2e.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "PeerTube",
"schematics": {
"@schematics/angular:component": {
"prefix": "app",
"styleext": "scss"
},
"@schematics/angular:directive": {
"prefix": "app"
}
}
}