PeerTube/client/angular.json

306 lines
9.0 KiB
JSON
Raw Normal View History

2018-05-15 10:58:08 +02:00
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"PeerTube": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
2020-02-07 15:51:19 +01:00
"i18n": {
"sourceLocale": {
"code": "en",
"baseHref": "/client/en-US/"
},
2020-02-07 15:51:19 +01:00
"locales": {
2020-06-04 10:35:08 +02:00
"ar": {
2020-07-02 14:08:02 +02:00
"translation": "src/locale/angular.ar.xlf",
"baseHref": "/client/ar/"
2020-06-04 10:35:08 +02:00
},
2020-02-07 15:51:19 +01:00
"hu": {
"translation": "src/locale/angular.hu-HU.xlf",
"baseHref": "/client/hu-HU/"
2020-02-07 15:51:19 +01:00
},
"th": {
"translation": "src/locale/angular.th-TH.xlf",
"baseHref": "/client/th-TH/"
2020-02-07 15:51:19 +01:00
},
"fi": {
"translation": "src/locale/angular.fi-FI.xlf",
"baseHref": "/client/fi-FI/"
2020-02-07 15:51:19 +01:00
},
"nl": {
"translation": "src/locale/angular.nl-NL.xlf",
"baseHref": "/client/nl-NL/"
2020-02-07 15:51:19 +01:00
},
"gd": {
"translation": "src/locale/angular.gd.xlf",
"baseHref": "/client/gd/"
2020-02-07 15:51:19 +01:00
},
"el": {
"translation": "src/locale/angular.el-GR.xlf",
"baseHref": "/client/el-GR/"
2020-02-07 15:51:19 +01:00
},
"es": {
"translation": "src/locale/angular.es-ES.xlf",
"baseHref": "/client/es-ES/"
2020-02-07 15:51:19 +01:00
},
"oc": {
"translation": "src/locale/angular.oc.xlf",
"baseHref": "/client/oc/"
},
2020-02-07 15:51:19 +01:00
"pt": {
"translation": "src/locale/angular.pt-BR.xlf",
"baseHref": "/client/pt-BR/"
2020-02-07 15:51:19 +01:00
},
"pt-PT": {
"translation": "src/locale/angular.pt-PT.xlf",
"baseHref": "/client/pt-PT/"
2020-02-07 15:51:19 +01:00
},
"sv": {
"translation": "src/locale/angular.sv-SE.xlf",
"baseHref": "/client/sv-SE/"
2020-02-07 15:51:19 +01:00
},
"pl": {
"translation": "src/locale/angular.pl-PL.xlf",
"baseHref": "/client/pl-PL/"
2020-02-07 15:51:19 +01:00
},
"ru": {
"translation": "src/locale/angular.ru-RU.xlf",
"baseHref": "/client/ru-RU/"
2020-02-07 15:51:19 +01:00
},
2021-03-09 11:34:46 +01:00
"sq": {
"translation": "src/locale/angular.sq.xlf",
"baseHref": "/client/sq/"
},
2020-02-07 15:51:19 +01:00
"zh-Hans": {
"translation": "src/locale/angular.zh-Hans-CN.xlf",
"baseHref": "/client/zh-Hans-CN/"
2020-02-07 15:51:19 +01:00
},
"zh-Hant": {
"translation": "src/locale/angular.zh-Hant-TW.xlf",
"baseHref": "/client/zh-Hant-TW/"
2020-02-07 15:51:19 +01:00
},
"fr": {
"translation": "src/locale/angular.fr-FR.xlf",
"baseHref": "/client/fr-FR/"
2020-02-07 15:51:19 +01:00
},
"ja": {
"translation": "src/locale/angular.ja-JP.xlf",
"baseHref": "/client/ja-JP/"
2020-02-07 15:51:19 +01:00
},
"eu": {
"translation": "src/locale/angular.eu-ES.xlf",
"baseHref": "/client/eu-ES/"
2020-02-07 15:51:19 +01:00
},
"ca": {
"translation": "src/locale/angular.ca-ES.xlf",
"baseHref": "/client/ca-ES/"
2020-02-07 15:51:19 +01:00
},
2020-12-16 11:45:12 +01:00
"gl": {
"translation": "src/locale/angular.gl-ES.xlf",
"baseHref": "/client/gl-ES/"
},
2020-02-07 15:51:19 +01:00
"cs": {
"translation": "src/locale/angular.cs-CZ.xlf",
"baseHref": "/client/cs-CZ/"
2020-02-07 15:51:19 +01:00
},
"eo": {
"translation": "src/locale/angular.eo.xlf",
"baseHref": "/client/eo/"
2020-02-07 15:51:19 +01:00
},
"de": {
"translation": "src/locale/angular.de-DE.xlf",
"baseHref": "/client/de-DE/"
2020-02-07 15:51:19 +01:00
},
"it": {
"translation": "src/locale/angular.it-IT.xlf",
"baseHref": "/client/it-IT/"
2020-06-04 11:01:54 +02: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 15:51:19 +01:00
}
}
},
2018-05-15 10:58:08 +02:00
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"localize": true,
2018-05-15 10:58:08 +02:00
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
2021-08-17 14:01:51 +02:00
"tsConfig": "tsconfig.json",
2018-05-15 10:58:08 +02:00
"polyfills": "src/polyfills.ts",
2021-05-14 16:56:44 +02:00
"baseHref": "/",
2021-05-27 17:25:52 +02:00
"deployUrl": "",
2018-05-15 10:58:08 +02:00
"stylePreprocessorOptions": {
"includePaths": [
"src/sass/include"
]
},
"assets": [
"src/assets/images",
2018-09-19 18:27:10 +02:00
"src/manifest.webmanifest"
2018-05-15 10:58:08 +02:00
],
"styles": [
"src/sass/application.scss"
],
2020-08-06 15:04:38 +02:00
"allowedCommonJsDependencies": [
2021-05-14 18:03:58 +02:00
"qrcode",
2020-08-06 15:04:38 +02:00
"chart.js",
2021-05-14 18:03:58 +02:00
"htmlparser2",
2020-11-25 11:56:19 +01:00
"markdown-it-emoji/light",
2021-10-12 15:16:31 +02:00
"linkifyjs/lib/linkify-html",
2021-10-14 10:52:15 +02:00
"linkifyjs/lib/plugins/mention",
2020-08-06 15:04:38 +02:00
"sanitize-html",
2021-05-14 18:03:58 +02:00
"debug",
2021-08-17 14:01:51 +02:00
"@peertube/p2p-media-loader-hlsjs",
2021-05-14 18:03:58 +02:00
"video.js",
2021-05-28 14:56:26 +02:00
"sha.js/sha1",
2021-05-27 17:25:52 +02:00
"postcss",
"core-js/features/reflect"
2020-08-06 15:04:38 +02:00
],
2021-05-14 15:20:58 +02:00
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
2018-05-15 10:58:08 +02:00
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
2018-05-16 10:44:38 +02:00
"serviceWorker": true,
"ngswConfigPath": "src/ngsw-config.json",
2019-08-01 10:15:28 +02:00
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
2021-04-14 10:38:09 +02:00
"maximumError": "100kb"
2019-08-01 10:15:28 +02:00
}
],
2018-05-15 10:58:08 +02:00
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
]
2018-05-16 19:59:21 +02:00
},
2021-06-07 17:38:31 +02:00
"ar-locale": {
2021-08-17 14:42:53 +02:00
"localize": [
"ar"
],
2021-06-07 17:38:31 +02:00
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.hmr.ts"
}
]
},
2018-05-16 19:59:21 +02:00
"hmr": {
"localize": false,
2020-02-07 10:00:34 +01:00
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
2018-05-16 19:59:21 +02:00
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.hmr.ts"
}
]
2018-05-15 10:58:08 +02:00
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
2019-08-22 15:12:44 +02:00
"browserTarget": "PeerTube:build",
"proxyConfig": "proxy.config.json"
2018-05-15 10:58:08 +02:00
},
"configurations": {
"production": {
"browserTarget": "PeerTube:build:production"
2018-05-16 19:59:21 +02:00
},
"hmr": {
"browserTarget": "PeerTube:build:hmr"
},
2021-06-07 17:38:31 +02:00
"ar-locale": {
"browserTarget": "PeerTube:build:ar-locale"
2018-05-15 10:58:08 +02: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 18:27:10 +02:00
"src/manifest.webmanifest"
2018-05-15 10:58:08 +02:00
]
}
},
"lint": {
2021-08-17 14:42:53 +02:00
"builder": "@angular-eslint/builder:lint",
2018-05-15 10:58:08 +02:00
"options": {
2021-08-17 14:42:53 +02:00
"lintFilePatterns": [
2021-09-03 10:27:04 +02:00
"e2e/**/*.ts",
2021-08-17 14:42:53 +02:00
"src/**/*.ts",
"src/**/*.html"
2018-05-15 10:58:08 +02:00
]
}
}
}
}
},
"defaultProject": "PeerTube",
"schematics": {
"@schematics/angular:component": {
"prefix": "app",
2020-06-26 08:37:26 +02:00
"style": "scss"
2018-05-15 10:58:08 +02:00
},
"@schematics/angular:directive": {
"prefix": "app"
}
}
2018-05-15 17:08:31 +02:00
}