X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fangular.json;h=0ec6f68bb39a4cedae4d2b5760b9a73f4a3125ef;hb=3419e0e1fe8e48a08b63ca0ded31087f913eb2b6;hp=dc50bf709f94def34ae97a9fdb33db5bf9ec84af;hpb=1c5e49e75284100b7b1fc8b4e73c8ba53fe22e89;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/angular.json b/client/angular.json index dc50bf709..0ec6f68bb 100644 --- a/client/angular.json +++ b/client/angular.json @@ -135,7 +135,7 @@ "outputPath": "dist", "index": "src/index.html", "main": "src/main.ts", - "tsConfig": "tsconfig.app.json", + "tsConfig": "tsconfig.json", "polyfills": "src/polyfills.ts", "baseHref": "/", "deployUrl": "", @@ -158,9 +158,9 @@ "markdown-it-emoji/light", "sanitize-html", "debug", - "p2p-media-loader-hlsjs", + "@peertube/p2p-media-loader-hlsjs", "video.js", - "sha1", + "sha.js/sha1", "postcss", "core-js/features/reflect" ], @@ -202,8 +202,10 @@ } ] }, - "hmr": { - "localize": false, + "ar-locale": { + "localize": [ + "ar" + ], "budgets": [ { "type": "anyComponentStyle", @@ -217,7 +219,7 @@ } ] }, - "e2e": { + "hmr": { "localize": false, "budgets": [ { @@ -228,7 +230,7 @@ "fileReplacements": [ { "replace": "src/environments/environment.ts", - "with": "src/environments/environment.e2e.ts" + "with": "src/environments/environment.hmr.ts" } ] } @@ -247,9 +249,8 @@ "hmr": { "browserTarget": "PeerTube:build:hmr" }, - "e2e": { - "browserTarget": "PeerTube:build:e2e", - "proxyConfig": "e2e/proxy.config.json" + "ar-locale": { + "browserTarget": "PeerTube:build:ar-locale" } } }, @@ -277,13 +278,11 @@ } }, "lint": { - "builder": "@angular-devkit/build-angular:tslint", + "builder": "@angular-eslint/builder:lint", "options": { - "tsConfig": [ - "tsconfig.app.json" - ], - "exclude": [ - "**/node_modules/**" + "lintFilePatterns": [ + "src/**/*.ts", + "src/**/*.html" ] } }, @@ -343,36 +342,6 @@ } } } - }, - "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",