]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/tsconfig.json
Better label for default transcoding profile
[github/Chocobozzz/PeerTube.git] / client / tsconfig.json
index 8ce9c5f96c1e54a3dc253465ed481c5b78c91b83..785ed1c6c45b80d067db1983a54946e43ea0385b 100644 (file)
 {
   "compileOnSave": false,
   "compilerOptions": {
+    "downlevelIteration": true,
     "outDir": "./dist/out-tsc",
     "sourceMap": true,
     "declaration": false,
     "moduleResolution": "node",
-    "emitDecoratorMetadata": true,
+    "module": "es2020",
     "experimentalDecorators": true,
-    "target": "es5",
+    "noImplicitAny": true,
+    "noImplicitThis": true,
+    "alwaysStrict": true,
+    "importHelpers": true,
+    "allowSyntheticDefaultImports": true,
+    "strictBindCallApply": true,
+    "target": "ES2022",
     "typeRoots": [
       "node_modules/@types"
     ],
     "lib": [
+      "ES2021.Intl",
+      "es2018",
       "es2017",
       "es2016",
       "es2015",
       "dom"
     ],
-    "baseUrl": "src",
+    "baseUrl": "./",
     "paths": {
-      "@app/*": [ "app/*" ]
-    }
+      "hls.js": [
+        "node_modules/hls.js/dist/hls.light"
+      ],
+      "video.js": [
+        "node_modules/video.js/core"
+      ],
+      "@app/*": [
+        "src/app/*"
+      ],
+      "@shared/models/*": [
+        "../shared/models/*"
+      ],
+      "@shared/models": [
+        "../shared/models"
+      ],
+      "@shared/core-utils": [
+        "../shared/core-utils"
+      ],
+      "@shared/core-utils/*": [
+        "../shared/core-utils/*"
+      ],
+      "@shared/typescript-utils": [
+        "../shared/typescript-utils"
+      ],
+      "@shared/typescript-utils/*": [
+        "../shared/typescript-utils/*"
+      ],
+      "@root-helpers/*": [
+        "src/root-helpers/*"
+      ],
+      "fs": [
+        "src/shims/noop.ts"
+      ],
+      "http": [
+        "src/shims/http.ts"
+      ],
+      "https": [
+        "src/shims/https.ts"
+      ],
+      "path": [
+        "src/shims/path.ts"
+      ],
+      "stream": [
+        "src/shims/stream.ts"
+      ],
+      "crypto": [
+        "src/shims/noop.ts"
+      ]
+    },
+    "useDefineForClassFields": false
+  },
+  "files": [
+    "src/polyfills.ts"
+  ],
+  "include": [
+    "src/main*.ts",
+    "src/**/*.d.ts",
+    "src/shims/*.ts"
+  ],
+  "exclude": [
+    "../node_modules",
+    "../server",
+    "node_modules"
+  ],
+  "angularCompilerOptions": {
+    "strictInjectionParameters": true,
+    "fullTemplateTypeCheck": true,
+    "strictTemplates": true,
+    "enableI18nLegacyMessageIdFormat": false
   }
 }