]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/angular.json
Inform user to fill account profile and channels (#4352)
[github/Chocobozzz/PeerTube.git] / client / angular.json
index dc50bf709f94def34ae97a9fdb33db5bf9ec84af..556df6bbd2ce0f4e8bbce531765510322406e8ac 100644 (file)
             "outputPath": "dist",
             "index": "src/index.html",
             "main": "src/main.ts",
-            "tsConfig": "tsconfig.app.json",
+            "tsConfig": "tsconfig.json",
             "polyfills": "src/polyfills.ts",
             "baseHref": "/",
             "deployUrl": "",
               "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"
             ],
                 }
               ]
             },
+            "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": [
             "hmr": {
               "browserTarget": "PeerTube:build:hmr"
             },
+            "ar-locale": {
+              "browserTarget": "PeerTube:build:ar-locale"
+            },
             "e2e": {
               "browserTarget": "PeerTube:build:e2e",
               "proxyConfig": "e2e/proxy.config.json"
           }
         },
         "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"
             ]
           }
         },
               "protractorConfig": "e2e/local-protractor.conf.js"
             }
           }
-        },
-        "lint": {
-          "builder": "@angular-devkit/build-angular:tslint",
-          "options": {
-            "tsConfig": [
-              "e2e/tsconfig.e2e.json"
-            ],
-            "exclude": [
-              "**/node_modules/**"
-            ]
-          }
         }
       }
     }