2018-05-15 03:58:08 -05:00
|
|
|
{
|
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"PeerTube": {
|
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "src",
|
|
|
|
"projectType": "application",
|
2020-02-07 08:51:19 -06:00
|
|
|
"i18n": {
|
2020-02-12 04:34:34 -06:00
|
|
|
"sourceLocale": {
|
|
|
|
"code": "en",
|
|
|
|
"baseHref": "/client/en-US/"
|
|
|
|
},
|
2020-02-07 08:51:19 -06:00
|
|
|
"locales": {
|
2020-06-04 03:35:08 -05:00
|
|
|
"ar": {
|
2020-07-02 07:08:02 -05:00
|
|
|
"translation": "src/locale/angular.ar.xlf",
|
|
|
|
"baseHref": "/client/ar/"
|
2020-06-04 03:35:08 -05:00
|
|
|
},
|
2020-02-07 08:51:19 -06:00
|
|
|
"hu": {
|
|
|
|
"translation": "src/locale/angular.hu-HU.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/hu-HU/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"th": {
|
|
|
|
"translation": "src/locale/angular.th-TH.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/th-TH/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"fi": {
|
|
|
|
"translation": "src/locale/angular.fi-FI.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/fi-FI/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"nl": {
|
|
|
|
"translation": "src/locale/angular.nl-NL.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/nl-NL/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"gd": {
|
|
|
|
"translation": "src/locale/angular.gd.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/gd/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"el": {
|
|
|
|
"translation": "src/locale/angular.el-GR.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/el-GR/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"es": {
|
|
|
|
"translation": "src/locale/angular.es-ES.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/es-ES/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
2020-05-29 09:39:49 -05:00
|
|
|
"oc": {
|
|
|
|
"translation": "src/locale/angular.oc.xlf",
|
|
|
|
"baseHref": "/client/oc/"
|
|
|
|
},
|
2020-02-07 08:51:19 -06:00
|
|
|
"pt": {
|
|
|
|
"translation": "src/locale/angular.pt-BR.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/pt-BR/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"pt-PT": {
|
|
|
|
"translation": "src/locale/angular.pt-PT.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/pt-PT/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"sv": {
|
|
|
|
"translation": "src/locale/angular.sv-SE.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/sv-SE/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"pl": {
|
|
|
|
"translation": "src/locale/angular.pl-PL.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/pl-PL/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"ru": {
|
|
|
|
"translation": "src/locale/angular.ru-RU.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/ru-RU/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"zh-Hans": {
|
|
|
|
"translation": "src/locale/angular.zh-Hans-CN.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/zh-Hans-CN/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"zh-Hant": {
|
|
|
|
"translation": "src/locale/angular.zh-Hant-TW.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/zh-Hant-TW/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"fr": {
|
|
|
|
"translation": "src/locale/angular.fr-FR.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/fr-FR/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"ja": {
|
|
|
|
"translation": "src/locale/angular.ja-JP.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/ja-JP/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"eu": {
|
|
|
|
"translation": "src/locale/angular.eu-ES.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/eu-ES/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"ca": {
|
|
|
|
"translation": "src/locale/angular.ca-ES.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/ca-ES/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"cs": {
|
|
|
|
"translation": "src/locale/angular.cs-CZ.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/cs-CZ/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"eo": {
|
|
|
|
"translation": "src/locale/angular.eo.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/eo/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"de": {
|
|
|
|
"translation": "src/locale/angular.de-DE.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/de-DE/"
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
|
|
|
"it": {
|
|
|
|
"translation": "src/locale/angular.it-IT.xlf",
|
2020-02-12 04:34:34 -06:00
|
|
|
"baseHref": "/client/it-IT/"
|
2020-06-04 04:01:54 -05:00
|
|
|
},
|
|
|
|
"vi": {
|
|
|
|
"translation": "src/locale/angular.vi-VN.xlf",
|
|
|
|
"baseHref": "/client/vi-VN/"
|
|
|
|
},
|
|
|
|
"kab": {
|
|
|
|
"translation": "src/locale/angular.kab.xlf",
|
|
|
|
"baseHref": "/client/kab/"
|
2020-02-07 08:51:19 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-05-15 03:58:08 -05:00
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
2020-02-07 03:00:34 -06:00
|
|
|
"aot": true,
|
2018-05-15 03:58:08 -05:00
|
|
|
"outputPath": "dist",
|
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
2019-08-01 04:38:26 -05:00
|
|
|
"tsConfig": "tsconfig.app.json",
|
2018-05-15 03:58:08 -05:00
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"stylePreprocessorOptions": {
|
|
|
|
"includePaths": [
|
|
|
|
"src/sass/include"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"assets": [
|
|
|
|
"src/assets/images",
|
2018-09-19 11:27:10 -05:00
|
|
|
"src/manifest.webmanifest"
|
2018-05-15 03:58:08 -05:00
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"src/sass/application.scss"
|
|
|
|
],
|
2020-08-06 08:04:38 -05:00
|
|
|
"allowedCommonJsDependencies": [
|
|
|
|
"@angularclass/hmr",
|
|
|
|
"debug",
|
|
|
|
"mousetrap",
|
|
|
|
"chart.js",
|
|
|
|
"linkifyjs/html",
|
|
|
|
"linkifyjs",
|
|
|
|
"markdown-it",
|
|
|
|
"sanitize-html",
|
|
|
|
"socket.io-client",
|
|
|
|
"socket.io-parser",
|
|
|
|
"@app/+about/about-peertube/about-peertube-contributors.component",
|
|
|
|
"path",
|
|
|
|
"video.js",
|
|
|
|
"p2p-media-loader-hlsjs",
|
|
|
|
"videojs-hotkeys/videojs.hotkeys",
|
|
|
|
"p2p-media-loader-core",
|
|
|
|
"qrcode",
|
|
|
|
"webtorrent",
|
|
|
|
"cache-chunk-store",
|
|
|
|
"global/document",
|
|
|
|
"videojs-vtt.js",
|
|
|
|
"videojs-vtt.js",
|
|
|
|
"@babel/runtime/helpers/possibleConstructorReturn",
|
|
|
|
"@babel/runtime/helpers/inherits",
|
|
|
|
"@babel/runtime/helpers/construct",
|
|
|
|
"@videojs/xhr"
|
|
|
|
],
|
2018-05-15 03:58:08 -05:00
|
|
|
"scripts": []
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"extractCss": true,
|
|
|
|
"namedChunks": false,
|
|
|
|
"aot": true,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
2018-05-16 03:44:38 -05:00
|
|
|
"serviceWorker": true,
|
|
|
|
"ngswConfigPath": "src/ngsw-config.json",
|
2019-08-01 03:15:28 -05:00
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "2mb",
|
|
|
|
"maximumError": "5mb"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb",
|
2020-03-31 08:43:17 -05:00
|
|
|
"maximumError": "50kb"
|
2019-08-01 03:15:28 -05:00
|
|
|
}
|
|
|
|
],
|
2018-05-15 03:58:08 -05:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
|
|
|
}
|
|
|
|
]
|
2018-05-16 12:59:21 -05:00
|
|
|
},
|
|
|
|
"hmr": {
|
2020-02-07 03:00:34 -06:00
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb"
|
|
|
|
}
|
|
|
|
],
|
2018-05-16 12:59:21 -05:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.hmr.ts"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"e2e": {
|
2020-02-07 03:00:34 -06:00
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb"
|
|
|
|
}
|
|
|
|
],
|
2018-05-16 12:59:21 -05:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.e2e.ts"
|
|
|
|
}
|
|
|
|
]
|
2020-02-07 08:51:19 -06:00
|
|
|
},
|
2020-07-02 07:08:02 -05:00
|
|
|
"ar": {
|
2020-06-04 03:35:08 -05:00
|
|
|
"localize": [ "ar" ]
|
|
|
|
},
|
2020-02-07 08:51:19 -06:00
|
|
|
"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" ]
|
|
|
|
},
|
2020-05-29 09:39:49 -05:00
|
|
|
"oc": {
|
|
|
|
"localize": [ "oc" ]
|
|
|
|
},
|
2020-02-07 08:51:19 -06:00
|
|
|
"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" ]
|
2020-06-04 04:01:54 -05:00
|
|
|
},
|
|
|
|
"vi-VN": {
|
|
|
|
"localize": [ "vi" ]
|
|
|
|
},
|
|
|
|
"kab": {
|
|
|
|
"localize": [ "kab" ]
|
2018-05-15 03:58:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
|
|
"options": {
|
2019-07-25 03:44:21 -05:00
|
|
|
"baseHref": "/",
|
|
|
|
"deployUrl": "client/",
|
2019-08-22 08:12:44 -05:00
|
|
|
"browserTarget": "PeerTube:build",
|
|
|
|
"proxyConfig": "proxy.config.json"
|
2018-05-15 03:58:08 -05:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"browserTarget": "PeerTube:build:production"
|
2018-05-16 12:59:21 -05:00
|
|
|
},
|
|
|
|
"hmr": {
|
|
|
|
"browserTarget": "PeerTube:build:hmr"
|
|
|
|
},
|
|
|
|
"e2e": {
|
2019-08-22 08:12:44 -05:00
|
|
|
"browserTarget": "PeerTube:build:e2e",
|
|
|
|
"proxyConfig": "e2e/proxy.config.json"
|
2018-05-15 03:58:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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",
|
2018-09-19 11:27:10 -05:00
|
|
|
"src/manifest.webmanifest"
|
2018-05-15 03:58:08 -05:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
2019-08-01 04:38:26 -05:00
|
|
|
"tsconfig.app.json"
|
2018-05-15 03:58:08 -05:00
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
2019-11-07 02:45:14 -06:00
|
|
|
},
|
|
|
|
"xliffmerge": {
|
|
|
|
"builder": "@ngx-i18nsupport/tooling:xliffmerge",
|
|
|
|
"options": {
|
|
|
|
"xliffmergeOptions": {
|
|
|
|
"i18nFormat": "xlf",
|
|
|
|
"srcDir": "src/locale",
|
|
|
|
"genDir": "src/locale",
|
|
|
|
"i18nBaseFile": "angular",
|
|
|
|
"defaultLanguage": "en-US",
|
|
|
|
"languages": [
|
2020-07-02 07:08:02 -05:00
|
|
|
"ar",
|
2019-11-07 03:56:04 -06:00
|
|
|
"ca-ES",
|
|
|
|
"cs-CZ",
|
|
|
|
"da-DK",
|
|
|
|
"de-DE",
|
|
|
|
"el-GR",
|
|
|
|
"en-GB",
|
2019-11-07 02:45:14 -06:00
|
|
|
"en-US",
|
2019-11-07 03:56:04 -06:00
|
|
|
"eo",
|
|
|
|
"es-ES",
|
|
|
|
"eu-ES",
|
|
|
|
"fa-IR",
|
|
|
|
"fi-FI",
|
|
|
|
"fr-FR",
|
|
|
|
"gd",
|
|
|
|
"gl-ES",
|
|
|
|
"hu-HU",
|
|
|
|
"it-IT",
|
|
|
|
"ja-JP",
|
|
|
|
"jbo",
|
2020-06-04 04:01:54 -05:00
|
|
|
"kab",
|
2019-11-07 03:56:04 -06:00
|
|
|
"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"
|
2019-11-07 02:45:14 -06:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2018-05-15 03:58:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"PeerTube-e2e": {
|
2018-05-16 12:59:21 -05:00
|
|
|
"root": "e2e/",
|
2018-05-15 03:58:08 -05:00
|
|
|
"sourceRoot": "",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
2018-05-16 12:59:21 -05:00
|
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
|
|
"devServerTarget": "PeerTube:serve:e2e"
|
2018-10-01 06:40:21 -05:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"local": {
|
|
|
|
"protractorConfig": "e2e/local-protractor.conf.js"
|
|
|
|
}
|
2018-05-15 03:58:08 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
|
|
|
"e2e/tsconfig.e2e.json"
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"defaultProject": "PeerTube",
|
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
"prefix": "app",
|
2020-06-26 01:37:26 -05:00
|
|
|
"style": "scss"
|
2018-05-15 03:58:08 -05:00
|
|
|
},
|
|
|
|
"@schematics/angular:directive": {
|
|
|
|
"prefix": "app"
|
|
|
|
}
|
|
|
|
}
|
2018-05-15 10:08:31 -05:00
|
|
|
}
|