]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/tsconfig.json
Add font-display
[github/Chocobozzz/PeerTube.git] / client / tsconfig.json
index 8ce9c5f96c1e54a3dc253465ed481c5b78c91b83..f99c5d87d47f1f3a63fddfe9b29dc6c135e87c35 100644 (file)
@@ -1,13 +1,20 @@
 {
   "compileOnSave": false,
   "compilerOptions": {
+    "downlevelIteration": true,
     "outDir": "./dist/out-tsc",
     "sourceMap": true,
     "declaration": false,
     "moduleResolution": "node",
+    "module": "esnext",
     "emitDecoratorMetadata": true,
     "experimentalDecorators": true,
-    "target": "es5",
+    "noImplicitAny": true,
+    "noImplicitThis": true,
+    "suppressImplicitAnyIndexErrors":true,
+    "alwaysStrict": true,
+    "strictBindCallApply": true,
+    "target": "es2015",
     "typeRoots": [
       "node_modules/@types"
     ],
       "es2015",
       "dom"
     ],
+    "types": [
+      "jasmine"
+    ],
     "baseUrl": "src",
     "paths": {
-      "@app/*": [ "app/*" ]
+      "@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" ]
     }
-  }
+  },
+  "angularCompilerOptions": {
+    "strictInjectionParameters": true,
+    "fullTemplateTypeCheck": true
+  },
+  "include": [
+    "./src",
+    "../../shared"
+  ],
+  "exclude": [
+    "../../node_modules",
+    "../node_modules",
+    "../dist",
+    "../../server",
+    "../src/**/*.spec.ts"
+  ]
 }