]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/tsconfig.json
Update translations
[github/Chocobozzz/PeerTube.git] / client / tsconfig.json
index 270524e5f5dc0833414a6069e51775747db49fdd..785ed1c6c45b80d067db1983a54946e43ea0385b 100644 (file)
 {
+  "compileOnSave": false,
   "compilerOptions": {
-    "target": "es5",
-    "module": "commonjs",
-    "moduleResolution": "node",
+    "downlevelIteration": true,
+    "outDir": "./dist/out-tsc",
     "sourceMap": true,
-    "emitDecoratorMetadata": true,
+    "declaration": false,
+    "moduleResolution": "node",
+    "module": "es2020",
     "experimentalDecorators": true,
-    "removeComments": false,
-    "noImplicitAny": false
+    "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": "./",
+    "paths": {
+      "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
   },
-  "filesGlob": [
-    "**/*.ts",
-    "!node_modules/**"
+  "files": [
+    "src/polyfills.ts"
   ],
-  "exclude": [
-    "node_modules",
-    "typings/main",
-    "typings/main.d.ts"
+  "include": [
+    "src/main*.ts",
+    "src/**/*.d.ts",
+    "src/shims/*.ts"
   ],
-  "compileOnSave": false,
-  "files": [
-    "angular/app/app.component.ts",
-    "angular/app/search.component.ts",
-    "angular/app/search.ts",
-    "angular/friends/services/friends.service.ts",
-    "angular/main.ts",
-    "angular/users/components/login/login.component.ts",
-    "angular/users/models/authStatus.ts",
-    "angular/users/models/token.ts",
-    "angular/users/models/user.ts",
-    "angular/users/services/auth.service.ts",
-    "angular/videos/components/add/videos-add.component.ts",
-    "angular/videos/components/list/sort.ts",
-    "angular/videos/components/list/video-miniature.component.ts",
-    "angular/videos/components/list/video-sort.component.ts",
-    "angular/videos/components/list/videos-list.component.ts",
-    "angular/videos/components/watch/videos-watch.component.ts",
-    "angular/videos/pagination.ts",
-    "angular/videos/video.ts",
-    "angular/videos/videos.service.ts",
-    "typings/globals/es6-shim/index.d.ts",
-    "typings/globals/jasmine/index.d.ts",
-    "typings/globals/node/index.d.ts",
-    "typings/index.d.ts"
+  "exclude": [
+    "../node_modules",
+    "../server",
+    "node_modules"
   ],
-  "atom": {
-    "rewriteTsconfig": true
+  "angularCompilerOptions": {
+    "strictInjectionParameters": true,
+    "fullTemplateTypeCheck": true,
+    "strictTemplates": true,
+    "enableI18nLegacyMessageIdFormat": false
   }
 }