"translation": "src/locale/angular.ru-RU.xlf",
"baseHref": "/client/ru-RU/"
},
+ "sq": {
+ "translation": "src/locale/angular.sq.xlf",
+ "baseHref": "/client/sq/"
+ },
"zh-Hans": {
"translation": "src/locale/angular.zh-Hans-CN.xlf",
"baseHref": "/client/zh-Hans-CN/"
"translation": "src/locale/angular.ca-ES.xlf",
"baseHref": "/client/ca-ES/"
},
+ "gl": {
+ "translation": "src/locale/angular.gl-ES.xlf",
+ "baseHref": "/client/gl-ES/"
+ },
"cs": {
"translation": "src/locale/angular.cs-CZ.xlf",
"baseHref": "/client/cs-CZ/"
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
- "aot": true,
+ "localize": true,
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
- "tsConfig": "tsconfig.app.json",
+ "tsConfig": "tsconfig.json",
"polyfills": "src/polyfills.ts",
+ "baseHref": "/",
+ "deployUrl": "",
"stylePreprocessorOptions": {
"includePaths": [
"src/sass/include"
"src/sass/application.scss"
],
"allowedCommonJsDependencies": [
- "@angularclass/hmr",
- "debug",
- "mousetrap",
+ "qrcode",
"chart.js",
- "linkifyjs/html",
- "linkifyjs",
- "markdown-it",
+ "htmlparser2",
+ "markdown-it-emoji/light",
+ "linkifyjs/lib/linkify-html",
+ "linkifyjs/lib/plugins/mention",
"sanitize-html",
- "socket.io-client",
- "socket.io-parser",
- "@app/+about/about-peertube/about-peertube-contributors.component",
- "path",
+ "debug",
+ "@peertube/p2p-media-loader-hlsjs",
"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"
+ "sha.js/sha1",
+ "postcss",
+ "core-js/features/reflect"
],
- "scripts": []
+ "scripts": [],
+ "vendorChunk": true,
+ "extractLicenses": false,
+ "buildOptimizer": false,
+ "sourceMap": true,
+ "optimization": false,
+ "namedChunks": true
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
- "extractCss": true,
"namedChunks": false,
- "aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
- "maximumError": "50kb"
+ "maximumError": "100kb"
}
],
"fileReplacements": [
}
]
},
- "i18n": {
- "optimization": false,
- "outputHashing": "none",
- "sourceMap": true,
- "extractCss": true,
- "namedChunks": true,
- "aot": true,
- "buildOptimizer": false,
- "budgets": []
- },
- "hmr": {
+ "ar-locale": {
+ "localize": [
+ "ar"
+ ],
"budgets": [
{
"type": "anyComponentStyle",
}
]
},
- "e2e": {
+ "hmr": {
+ "localize": false,
"budgets": [
{
"type": "anyComponentStyle",
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
- "with": "src/environments/environment.e2e.ts"
+ "with": "src/environments/environment.hmr.ts"
}
]
- },
- "ar": {
- "localize": [ "ar" ]
- },
- "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" ]
- },
- "vi-VN": {
- "localize": [ "vi" ]
- },
- "kab": {
- "localize": [ "kab" ]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
- "baseHref": "/",
- "deployUrl": "client/",
"browserTarget": "PeerTube:build",
"proxyConfig": "proxy.config.json"
},
"hmr": {
"browserTarget": "PeerTube:build:hmr"
},
- "e2e": {
- "browserTarget": "PeerTube:build:e2e",
- "proxyConfig": "e2e/proxy.config.json"
+ "ar-locale": {
+ "browserTarget": "PeerTube:build:ar-locale"
}
}
},
}
},
"lint": {
- "builder": "@angular-devkit/build-angular:tslint",
+ "builder": "@angular-eslint/builder:lint",
"options": {
- "tsConfig": [
- "tsconfig.app.json"
- ],
- "exclude": [
- "**/node_modules/**"
+ "lintFilePatterns": [
+ "e2e/**/*.ts",
+ "src/**/*.ts",
+ "src/**/*.html"
]
}
},
"languages": [
"ar",
"ca-ES",
+ "gl-ES",
"cs-CZ",
"da-DK",
"de-DE",
}
}
}
- },
- "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",