allow limiting video-comments rss feeds to an account or video channel
[oweals/peertube.git] / client / tsconfig.json
index e46528d1c9117717cd9c5bc8d304ec88d2aa64b7..752f5b35f66174e2bc2dc43ac11910eeee54365f 100644 (file)
@@ -1,6 +1,7 @@
 {
   "compileOnSave": false,
   "compilerOptions": {
+    "downlevelIteration": true,
     "outDir": "./dist/out-tsc",
     "sourceMap": true,
     "declaration": false,
     "noImplicitThis": true,
     "suppressImplicitAnyIndexErrors":true,
     "alwaysStrict": true,
-    "target": "es5",
+    "importHelpers": true,
+    "strictBindCallApply": true,
+    "target": "es2015",
     "typeRoots": [
       "node_modules/@types"
     ],
     "lib": [
-      "es2017",
-      "es2016",
-      "es2015",
+      "es2018",
       "dom"
     ],
-    "types": [
-      "jasmine"
-    ],
-    "baseUrl": "src",
+    "baseUrl": "./",
     "paths": {
-      "@app/*": [ "app/*" ],
-      "@shared/*": [ "../../shared/*" ],
-      "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ],
-      "fs": [ "./shims/noop" ],
-      "http": [ "./shims/http" ],
-      "https": [ "./shims/https" ],
-      "path": [ "./shims/path" ],
-      "stream": [ "./shims/noop" ],
-      "crypto": [ "./shims/noop" ]
+      "video.js": [ "node_modules/video.js/core" ],
+      "@app/*": [ "src/app/*" ],
+      "@shared/*": [ "../shared/*" ],
+      "fs": [ "src/shims/noop.ts" ],
+      "http": [ "src/shims/http.ts" ],
+      "https": [ "src/shims/https.ts" ],
+      "path": [ "src/shims/path.ts" ],
+      "stream": [ "src/shims/noop.ts" ],
+      "crypto": [ "src/shims/noop.ts" ]
     }
   },
   "angularCompilerOptions": {
     "strictInjectionParameters": true,
-    "fullTemplateTypeCheck": true
-  },
-  "include": [
-    "./src",
-    "../../shared"
-  ],
-  "exclude": [
-    "../../node_modules",
-    "../node_modules",
-    "../dist",
-    "../../server",
-    "../src/**/*.spec.ts"
-  ]
+    "fullTemplateTypeCheck": true,
+    "strictTemplates": true
+  }
 }