123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400 |
- {
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
- "version": 1,
- "newProjectRoot": "projects",
- "projects": {
- "PeerTube": {
- "root": "",
- "sourceRoot": "src",
- "projectType": "application",
- "i18n": {
- "sourceLocale": {
- "code": "en",
- "baseHref": "/client/en-US/"
- },
- "locales": {
- "ar": {
- "translation": "src/locale/angular.ar.xlf",
- "baseHref": "/client/ar/"
- },
- "hu": {
- "translation": "src/locale/angular.hu-HU.xlf",
- "baseHref": "/client/hu-HU/"
- },
- "th": {
- "translation": "src/locale/angular.th-TH.xlf",
- "baseHref": "/client/th-TH/"
- },
- "fi": {
- "translation": "src/locale/angular.fi-FI.xlf",
- "baseHref": "/client/fi-FI/"
- },
- "nl": {
- "translation": "src/locale/angular.nl-NL.xlf",
- "baseHref": "/client/nl-NL/"
- },
- "gd": {
- "translation": "src/locale/angular.gd.xlf",
- "baseHref": "/client/gd/"
- },
- "el": {
- "translation": "src/locale/angular.el-GR.xlf",
- "baseHref": "/client/el-GR/"
- },
- "es": {
- "translation": "src/locale/angular.es-ES.xlf",
- "baseHref": "/client/es-ES/"
- },
- "oc": {
- "translation": "src/locale/angular.oc.xlf",
- "baseHref": "/client/oc/"
- },
- "pt": {
- "translation": "src/locale/angular.pt-BR.xlf",
- "baseHref": "/client/pt-BR/"
- },
- "pt-PT": {
- "translation": "src/locale/angular.pt-PT.xlf",
- "baseHref": "/client/pt-PT/"
- },
- "sv": {
- "translation": "src/locale/angular.sv-SE.xlf",
- "baseHref": "/client/sv-SE/"
- },
- "pl": {
- "translation": "src/locale/angular.pl-PL.xlf",
- "baseHref": "/client/pl-PL/"
- },
- "ru": {
- "translation": "src/locale/angular.ru-RU.xlf",
- "baseHref": "/client/ru-RU/"
- },
- "zh-Hans": {
- "translation": "src/locale/angular.zh-Hans-CN.xlf",
- "baseHref": "/client/zh-Hans-CN/"
- },
- "zh-Hant": {
- "translation": "src/locale/angular.zh-Hant-TW.xlf",
- "baseHref": "/client/zh-Hant-TW/"
- },
- "fr": {
- "translation": "src/locale/angular.fr-FR.xlf",
- "baseHref": "/client/fr-FR/"
- },
- "ja": {
- "translation": "src/locale/angular.ja-JP.xlf",
- "baseHref": "/client/ja-JP/"
- },
- "eu": {
- "translation": "src/locale/angular.eu-ES.xlf",
- "baseHref": "/client/eu-ES/"
- },
- "ca": {
- "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/"
- },
- "eo": {
- "translation": "src/locale/angular.eo.xlf",
- "baseHref": "/client/eo/"
- },
- "de": {
- "translation": "src/locale/angular.de-DE.xlf",
- "baseHref": "/client/de-DE/"
- },
- "it": {
- "translation": "src/locale/angular.it-IT.xlf",
- "baseHref": "/client/it-IT/"
- },
- "vi": {
- "translation": "src/locale/angular.vi-VN.xlf",
- "baseHref": "/client/vi-VN/"
- },
- "kab": {
- "translation": "src/locale/angular.kab.xlf",
- "baseHref": "/client/kab/"
- }
- }
- },
- "architect": {
- "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",
- "polyfills": "src/polyfills.ts",
- "stylePreprocessorOptions": {
- "includePaths": [
- "src/sass/include"
- ]
- },
- "assets": [
- "src/assets/images",
- "src/manifest.webmanifest"
- ],
- "styles": [
- "src/sass/application.scss"
- ],
- "allowedCommonJsDependencies": [
- "@angularclass/hmr",
- "debug",
- "mousetrap",
- "chart.js",
- "linkifyjs/html",
- "linkifyjs",
- "markdown-it",
- "markdown-it-emoji/light",
- "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",
- "htmlparser2",
- "url",
- "parse-srcset",
- "postcss"
- ],
- "scripts": []
- },
- "configurations": {
- "production": {
- "optimization": true,
- "outputHashing": "all",
- "sourceMap": false,
- "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": "50kb"
- }
- ],
- "fileReplacements": [
- {
- "replace": "src/environments/environment.ts",
- "with": "src/environments/environment.prod.ts"
- }
- ]
- },
- "hmr": {
- "localize": false,
- "budgets": [
- {
- "type": "anyComponentStyle",
- "maximumWarning": "6kb"
- }
- ],
- "fileReplacements": [
- {
- "replace": "src/environments/environment.ts",
- "with": "src/environments/environment.hmr.ts"
- }
- ]
- },
- "e2e": {
- "localize": false,
- "budgets": [
- {
- "type": "anyComponentStyle",
- "maximumWarning": "6kb"
- }
- ],
- "fileReplacements": [
- {
- "replace": "src/environments/environment.ts",
- "with": "src/environments/environment.e2e.ts"
- }
- ]
- }
- }
- },
- "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",
- "ca-ES",
- "gl-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",
- "kab",
- "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",
- "style": "scss"
- },
- "@schematics/angular:directive": {
- "prefix": "app"
- }
- }
- }
|