]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/tsconfig.json
Translated using Weblate (Spanish)
[github/Chocobozzz/PeerTube.git] / client / tsconfig.json
index d70710b82f1455e139d6eb129dc355dec379feeb..41814d0362500499541f63ca38016613a5117877 100644 (file)
@@ -1,38 +1,68 @@
 {
+  "compileOnSave": false,
   "compilerOptions": {
-    "target": "es5",
-    "module": "commonjs",
+    "downlevelIteration": true,
+    "outDir": "./dist/out-tsc",
+    "sourceMap": true,
+    "declaration": false,
     "moduleResolution": "node",
-    "emitDecoratorMetadata": true,
+    "module": "esnext",
     "experimentalDecorators": true,
+    "noImplicitAny": true,
+    "noImplicitThis": true,
+    "suppressImplicitAnyIndexErrors":true,
+    "alwaysStrict": true,
+    "importHelpers": true,
     "allowSyntheticDefaultImports": true,
-    "sourceMap": true,
-    "noEmitHelpers": true,
-    "strictNullChecks": false,
-    "baseUrl": "./src",
-    "paths": [
+    "strictBindCallApply": true,
+    "target": "es2015",
+    "typeRoots": [
+      "node_modules/@types"
     ],
     "lib": [
-      "dom",
-      "es6"
+      "es2018",
+      "es2017",
+      "es2016",
+      "es2015",
+      "dom"
     ],
-    "types": [
-      "node",
-      "source-map",
-      "uglify-js",
-      "videojs",
-      "webpack"
-    ]
+    "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" ]
+    }
   },
+  "files": [
+    "src/polyfills.ts"
+  ],
+  "include": [
+    "src/main*.ts",
+    "src/**/*.d.ts",
+    "src/shims/*.ts"
+  ],
   "exclude": [
-    "node_modules",
-    "dist"
+    "../node_modules",
+    "../server",
+    "node_modules"
   ],
-  "awesomeTypescriptLoaderOptions": {
-    "forkChecker": true,
-    "useWebpackText": true
-  },
-  "compileOnSave": false,
-  "buildOnSave": false,
-  "atom": { "rewriteTsconfig": false }
+  "angularCompilerOptions": {
+    "strictInjectionParameters": true,
+    "fullTemplateTypeCheck": true,
+    "strictTemplates": true,
+    "enableI18nLegacyMessageIdFormat": false
+  }
 }