X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fangular.json;h=69de2e7845326763c9e9a620e354a845ff056b71;hb=bbd092a4308f0e273e71fc991803b2f05a313d47;hp=2511615790f2b3b0d8e63f8f5daa0c1c9812e058;hpb=cf21b2cbef61929177b9c09b5e017c3b7eb8535d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/angular.json b/client/angular.json index 251161579..69de2e784 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,7 +158,7 @@ "markdown-it-emoji/light", "sanitize-html", "debug", - "p2p-media-loader-hlsjs", + "@peertube/p2p-media-loader-hlsjs", "video.js", "sha.js/sha1", "postcss", @@ -203,7 +203,9 @@ ] }, "ar-locale": { - "localize": ["ar"], + "localize": [ + "ar" + ], "budgets": [ { "type": "anyComponentStyle", @@ -231,21 +233,6 @@ "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" - } - ] } } }, @@ -264,10 +251,6 @@ }, "ar-locale": { "browserTarget": "PeerTube:build:ar-locale" - }, - "e2e": { - "browserTarget": "PeerTube:build:e2e", - "proxyConfig": "e2e/proxy.config.json" } } }, @@ -295,13 +278,12 @@ } }, "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" ] } }, @@ -361,36 +343,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",