2018-05-15 04:58:08 -04:00
|
|
|
{
|
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"PeerTube": {
|
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "src",
|
|
|
|
"projectType": "application",
|
2020-02-07 09:51:19 -05:00
|
|
|
"i18n": {
|
2020-02-12 05:34:34 -05:00
|
|
|
"sourceLocale": {
|
|
|
|
"code": "en",
|
|
|
|
"baseHref": "/client/en-US/"
|
|
|
|
},
|
2020-02-07 09:51:19 -05:00
|
|
|
"locales": {
|
2020-06-04 04:35:08 -04:00
|
|
|
"ar": {
|
2020-07-02 08:08:02 -04:00
|
|
|
"translation": "src/locale/angular.ar.xlf",
|
|
|
|
"baseHref": "/client/ar/"
|
2020-06-04 04:35:08 -04:00
|
|
|
},
|
2022-03-03 04:54:52 -05:00
|
|
|
"fa": {
|
|
|
|
"translation": "src/locale/angular.fa-IR.xlf",
|
|
|
|
"baseHref": "/client/fa-IR/"
|
|
|
|
},
|
2020-02-07 09:51:19 -05:00
|
|
|
"hu": {
|
|
|
|
"translation": "src/locale/angular.hu-HU.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/hu-HU/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"th": {
|
|
|
|
"translation": "src/locale/angular.th-TH.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/th-TH/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
2024-03-26 09:25:12 -04:00
|
|
|
"tr": {
|
|
|
|
"translation": "src/locale/angular.tr-TR.xlf",
|
|
|
|
"baseHref": "/client/tr-TR/"
|
|
|
|
},
|
2020-02-07 09:51:19 -05:00
|
|
|
"fi": {
|
|
|
|
"translation": "src/locale/angular.fi-FI.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/fi-FI/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"nl": {
|
|
|
|
"translation": "src/locale/angular.nl-NL.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/nl-NL/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"gd": {
|
|
|
|
"translation": "src/locale/angular.gd.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/gd/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"el": {
|
|
|
|
"translation": "src/locale/angular.el-GR.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/el-GR/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"es": {
|
|
|
|
"translation": "src/locale/angular.es-ES.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/es-ES/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
2020-05-29 10:39:49 -04:00
|
|
|
"oc": {
|
|
|
|
"translation": "src/locale/angular.oc.xlf",
|
|
|
|
"baseHref": "/client/oc/"
|
|
|
|
},
|
2020-02-07 09:51:19 -05:00
|
|
|
"pt": {
|
|
|
|
"translation": "src/locale/angular.pt-BR.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/pt-BR/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"pt-PT": {
|
|
|
|
"translation": "src/locale/angular.pt-PT.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/pt-PT/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"sv": {
|
|
|
|
"translation": "src/locale/angular.sv-SE.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/sv-SE/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"pl": {
|
|
|
|
"translation": "src/locale/angular.pl-PL.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/pl-PL/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"ru": {
|
|
|
|
"translation": "src/locale/angular.ru-RU.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/ru-RU/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
2021-03-09 05:34:46 -05:00
|
|
|
"sq": {
|
|
|
|
"translation": "src/locale/angular.sq.xlf",
|
|
|
|
"baseHref": "/client/sq/"
|
|
|
|
},
|
2022-07-11 10:25:43 -04:00
|
|
|
"hr": {
|
|
|
|
"translation": "src/locale/angular.hr.xlf",
|
|
|
|
"baseHref": "/client/hr/"
|
|
|
|
},
|
2020-02-07 09:51:19 -05:00
|
|
|
"zh-Hans": {
|
|
|
|
"translation": "src/locale/angular.zh-Hans-CN.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/zh-Hans-CN/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"zh-Hant": {
|
|
|
|
"translation": "src/locale/angular.zh-Hant-TW.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/zh-Hant-TW/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"fr": {
|
|
|
|
"translation": "src/locale/angular.fr-FR.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/fr-FR/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"ja": {
|
|
|
|
"translation": "src/locale/angular.ja-JP.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/ja-JP/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"eu": {
|
|
|
|
"translation": "src/locale/angular.eu-ES.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/eu-ES/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"ca": {
|
|
|
|
"translation": "src/locale/angular.ca-ES.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/ca-ES/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
2020-12-16 05:45:12 -05:00
|
|
|
"gl": {
|
|
|
|
"translation": "src/locale/angular.gl-ES.xlf",
|
|
|
|
"baseHref": "/client/gl-ES/"
|
|
|
|
},
|
2020-02-07 09:51:19 -05:00
|
|
|
"cs": {
|
|
|
|
"translation": "src/locale/angular.cs-CZ.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/cs-CZ/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"eo": {
|
|
|
|
"translation": "src/locale/angular.eo.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/eo/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"de": {
|
|
|
|
"translation": "src/locale/angular.de-DE.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/de-DE/"
|
2020-02-07 09:51:19 -05:00
|
|
|
},
|
|
|
|
"it": {
|
|
|
|
"translation": "src/locale/angular.it-IT.xlf",
|
2020-02-12 05:34:34 -05:00
|
|
|
"baseHref": "/client/it-IT/"
|
2020-06-04 05:01:54 -04:00
|
|
|
},
|
|
|
|
"vi": {
|
|
|
|
"translation": "src/locale/angular.vi-VN.xlf",
|
|
|
|
"baseHref": "/client/vi-VN/"
|
|
|
|
},
|
|
|
|
"kab": {
|
|
|
|
"translation": "src/locale/angular.kab.xlf",
|
|
|
|
"baseHref": "/client/kab/"
|
2021-12-13 11:06:44 -05:00
|
|
|
},
|
|
|
|
"nb": {
|
|
|
|
"translation": "src/locale/angular.nb-NO.xlf",
|
|
|
|
"baseHref": "/client/nb-NO/"
|
|
|
|
},
|
2022-06-24 05:51:30 -04:00
|
|
|
"tok": {
|
|
|
|
"translation": "src/locale/angular.tok.xlf",
|
|
|
|
"baseHref": "/client/tok/"
|
|
|
|
},
|
2021-12-13 11:06:44 -05:00
|
|
|
"nn": {
|
|
|
|
"translation": "src/locale/angular.nn.xlf",
|
|
|
|
"baseHref": "/client/nn/"
|
2023-02-13 04:17:53 -05:00
|
|
|
},
|
|
|
|
"is": {
|
|
|
|
"translation": "src/locale/angular.is.xlf",
|
|
|
|
"baseHref": "/client/is/"
|
2023-02-13 10:25:53 -05:00
|
|
|
},
|
|
|
|
"uk": {
|
|
|
|
"translation": "src/locale/angular.uk-UA.xlf",
|
|
|
|
"baseHref": "/client/uk-UA/"
|
2020-02-07 09:51:19 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-05-15 04:58:08 -04:00
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
2020-08-12 04:40:04 -04:00
|
|
|
"localize": true,
|
2018-05-15 04:58:08 -04:00
|
|
|
"outputPath": "dist",
|
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
2021-08-17 08:01:51 -04:00
|
|
|
"tsConfig": "tsconfig.json",
|
2018-05-15 04:58:08 -04:00
|
|
|
"polyfills": "src/polyfills.ts",
|
2021-05-14 10:56:44 -04:00
|
|
|
"baseHref": "/",
|
2018-05-15 04:58:08 -04:00
|
|
|
"stylePreprocessorOptions": {
|
|
|
|
"includePaths": [
|
|
|
|
"src/sass/include"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"assets": [
|
|
|
|
"src/assets/images",
|
2018-09-19 12:27:10 -04:00
|
|
|
"src/manifest.webmanifest"
|
2018-05-15 04:58:08 -04:00
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"src/sass/application.scss"
|
|
|
|
],
|
2020-08-06 09:04:38 -04:00
|
|
|
"allowedCommonJsDependencies": [
|
2023-02-16 09:17:40 -05:00
|
|
|
"qrcode",
|
2020-08-06 09:04:38 -04:00
|
|
|
"chart.js",
|
2021-05-14 12:03:58 -04:00
|
|
|
"htmlparser2",
|
2020-11-25 05:56:19 -05:00
|
|
|
"markdown-it-emoji/light",
|
2021-10-12 09:16:31 -04:00
|
|
|
"linkifyjs/lib/linkify-html",
|
2021-10-14 04:52:15 -04:00
|
|
|
"linkifyjs/lib/plugins/mention",
|
2020-08-06 09:04:38 -04:00
|
|
|
"sanitize-html",
|
2021-05-14 12:03:58 -04:00
|
|
|
"debug",
|
2021-08-17 08:01:51 -04:00
|
|
|
"@peertube/p2p-media-loader-hlsjs",
|
2021-05-14 12:03:58 -04:00
|
|
|
"video.js",
|
2022-02-09 07:56:11 -05:00
|
|
|
"sha.js",
|
2021-05-27 11:25:52 -04:00
|
|
|
"postcss",
|
2022-07-27 09:03:09 -04:00
|
|
|
"focus-visible",
|
|
|
|
"path-browserify",
|
|
|
|
"deep-merge",
|
|
|
|
"escape-string-regexp",
|
|
|
|
"is-plain-object",
|
|
|
|
"parse-srcset",
|
|
|
|
"deepmerge",
|
2023-06-06 08:32:47 -04:00
|
|
|
"core-js/features/reflect",
|
|
|
|
"@formatjs/intl-locale/polyfill",
|
|
|
|
"@formatjs/intl-locale/should-polyfill",
|
|
|
|
"@formatjs/intl-pluralrules/polyfill-force",
|
|
|
|
"@formatjs/intl-pluralrules/should-polyfill"
|
2020-08-06 09:04:38 -04:00
|
|
|
],
|
2021-05-14 09:20:58 -04:00
|
|
|
"scripts": [],
|
|
|
|
"vendorChunk": true,
|
|
|
|
"extractLicenses": false,
|
|
|
|
"buildOptimizer": false,
|
|
|
|
"sourceMap": true,
|
|
|
|
"optimization": false,
|
|
|
|
"namedChunks": true
|
2018-05-15 04:58:08 -04:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
2018-05-16 04:44:38 -04:00
|
|
|
"serviceWorker": true,
|
|
|
|
"ngswConfigPath": "src/ngsw-config.json",
|
2019-08-01 04:15:28 -04:00
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "2mb",
|
|
|
|
"maximumError": "5mb"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb",
|
2021-04-14 04:38:09 -04:00
|
|
|
"maximumError": "100kb"
|
2019-08-01 04:15:28 -04:00
|
|
|
}
|
|
|
|
],
|
2018-05-15 04:58:08 -04:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
|
|
|
}
|
|
|
|
]
|
2018-05-16 13:59:21 -04:00
|
|
|
},
|
2021-06-07 11:38:31 -04:00
|
|
|
"ar-locale": {
|
2021-08-17 08:42:53 -04:00
|
|
|
"localize": [
|
|
|
|
"ar"
|
|
|
|
],
|
2021-06-07 11:38:31 -04:00
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.hmr.ts"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-05-16 13:59:21 -04:00
|
|
|
"hmr": {
|
2020-08-12 04:40:04 -04:00
|
|
|
"localize": false,
|
2020-02-07 04:00:34 -05:00
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb"
|
|
|
|
}
|
|
|
|
],
|
2018-05-16 13:59:21 -04:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.hmr.ts"
|
|
|
|
}
|
|
|
|
]
|
2018-05-15 04:58:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
|
|
"options": {
|
2024-01-05 04:12:28 -05:00
|
|
|
"proxyConfig": "proxy.config.json",
|
|
|
|
"buildTarget": "PeerTube:build"
|
2018-05-15 04:58:08 -04:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
2024-01-05 04:12:28 -05:00
|
|
|
"buildTarget": "PeerTube:build:production"
|
2018-05-16 13:59:21 -04:00
|
|
|
},
|
|
|
|
"hmr": {
|
2024-01-05 04:12:28 -05:00
|
|
|
"buildTarget": "PeerTube:build:hmr"
|
2018-05-16 13:59:21 -04:00
|
|
|
},
|
2021-06-07 11:38:31 -04:00
|
|
|
"ar-locale": {
|
2024-01-05 04:12:28 -05:00
|
|
|
"buildTarget": "PeerTube:build:ar-locale"
|
2018-05-15 04:58:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
2024-01-05 04:12:28 -05:00
|
|
|
"buildTarget": "PeerTube:build"
|
2018-05-15 04:58:08 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
2021-08-17 08:42:53 -04:00
|
|
|
"builder": "@angular-eslint/builder:lint",
|
2018-05-15 04:58:08 -04:00
|
|
|
"options": {
|
2021-08-17 08:42:53 -04:00
|
|
|
"lintFilePatterns": [
|
2021-09-03 04:27:04 -04:00
|
|
|
"e2e/**/*.ts",
|
2021-08-17 08:42:53 -04:00
|
|
|
"src/**/*.ts",
|
|
|
|
"src/**/*.html"
|
2018-05-15 04:58:08 -04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:component": {
|
2021-12-29 06:14:06 -05:00
|
|
|
"prefix": "my",
|
|
|
|
"style": "scss",
|
|
|
|
"skipTests": true,
|
|
|
|
"flat": true
|
2018-05-15 04:58:08 -04:00
|
|
|
},
|
|
|
|
"@schematics/angular:directive": {
|
2021-12-29 06:14:06 -05:00
|
|
|
"prefix": "my"
|
2023-02-16 08:14:25 -05:00
|
|
|
},
|
|
|
|
"@angular-eslint/schematics:application": {
|
|
|
|
"setParserOptionsProject": true
|
|
|
|
},
|
|
|
|
"@angular-eslint/schematics:library": {
|
|
|
|
"setParserOptionsProject": true
|
2018-05-15 04:58:08 -04:00
|
|
|
}
|
2022-08-04 03:27:23 -04:00
|
|
|
},
|
|
|
|
"cli": {
|
|
|
|
"analytics": false
|
2018-05-15 04:58:08 -04:00
|
|
|
}
|
2018-05-15 11:08:31 -04:00
|
|
|
}
|