]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/tsconfig.json
Increase timeouts
[github/Chocobozzz/PeerTube.git] / client / tsconfig.json
index d48bd392009b206313a4e51e2cd6b41a422cd91d..2345ca289b2314e31b0cf1c568dc4a5fba1d9e1e 100644 (file)
@@ -1,63 +1,69 @@
 {
+  "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,
+    "suppressImplicitAnyIndexErrors":true,
+    "alwaysStrict": true,
+    "importHelpers": true,
+    "allowSyntheticDefaultImports": true,
+    "strictBindCallApply": true,
+    "target": "es2017",
+    "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" ]
+    }
   },
-  "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": [
-    "app/app.component.ts",
-    "app/friends/friend.service.ts",
-    "app/friends/index.ts",
-    "app/shared/index.ts",
-    "app/shared/search-field.type.ts",
-    "app/shared/search.component.ts",
-    "app/shared/search.model.ts",
-    "app/users/index.ts",
-    "app/users/login/index.ts",
-    "app/users/login/login.component.ts",
-    "app/users/shared/auth-status.model.ts",
-    "app/users/shared/auth.service.ts",
-    "app/users/shared/index.ts",
-    "app/users/shared/token.model.ts",
-    "app/users/shared/user.model.ts",
-    "app/videos/index.ts",
-    "app/videos/shared/index.ts",
-    "app/videos/shared/loader/index.ts",
-    "app/videos/shared/loader/loader.component.ts",
-    "app/videos/shared/pagination.model.ts",
-    "app/videos/shared/sort-field.type.ts",
-    "app/videos/shared/video.model.ts",
-    "app/videos/shared/video.service.ts",
-    "app/videos/video-add/index.ts",
-    "app/videos/video-add/video-add.component.ts",
-    "app/videos/video-list/index.ts",
-    "app/videos/video-list/video-list.component.ts",
-    "app/videos/video-list/video-miniature.component.ts",
-    "app/videos/video-list/video-sort.component.ts",
-    "app/videos/video-watch/index.ts",
-    "app/videos/video-watch/video-watch.component.ts",
-    "main.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
   }
 }