X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fangular.json;h=556df6bbd2ce0f4e8bbce531765510322406e8ac;hb=6aaf43ddedf63b03bec991a2d44397595c357ee6;hp=c9d90d5ec6124a6f854d9bdb66cf586822c6f0cd;hpb=8f608a4cb22ab232cfab20665050764b38bac9c7;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/angular.json b/client/angular.json index c9d90d5ec..556df6bbd 100644 --- a/client/angular.json +++ b/client/angular.json @@ -135,10 +135,10 @@ "outputPath": "dist", "index": "src/index.html", "main": "src/main.ts", - "tsConfig": "tsconfig.app.json", + "tsConfig": "tsconfig.json", "polyfills": "src/polyfills.ts", "baseHref": "/", - "deployUrl": "client/", + "deployUrl": "", "stylePreprocessorOptions": { "includePaths": [ "src/sass/include" @@ -158,10 +158,11 @@ "markdown-it-emoji/light", "sanitize-html", "debug", - "p2p-media-loader-hlsjs", + "@peertube/p2p-media-loader-hlsjs", "video.js", - "sha1", - "postcss" + "sha.js/sha1", + "postcss", + "core-js/features/reflect" ], "scripts": [], "vendorChunk": true, @@ -201,6 +202,23 @@ } ] }, + "ar-locale": { + "localize": [ + "ar" + ], + "budgets": [ + { + "type": "anyComponentStyle", + "maximumWarning": "6kb" + } + ], + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.hmr.ts" + } + ] + }, "hmr": { "localize": false, "budgets": [ @@ -246,6 +264,9 @@ "hmr": { "browserTarget": "PeerTube:build:hmr" }, + "ar-locale": { + "browserTarget": "PeerTube:build:ar-locale" + }, "e2e": { "browserTarget": "PeerTube:build:e2e", "proxyConfig": "e2e/proxy.config.json" @@ -276,13 +297,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" ] } }, @@ -359,17 +378,6 @@ "protractorConfig": "e2e/local-protractor.conf.js" } } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "e2e/tsconfig.e2e.json" - ], - "exclude": [ - "**/node_modules/**" - ] - } } } }