]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - tsconfig.json
Translated using Weblate (Spanish)
[github/Chocobozzz/PeerTube.git] / tsconfig.json
index 03988123061ca40930f983372bc293b10f6656b5..d305722c465456b57b7143ef56845b0f8b8b46a4 100644 (file)
@@ -1,19 +1,44 @@
 {
   "compilerOptions": {
     "module": "commonjs",
-    "target": "es5",
+    "target": "es2015",
     "noImplicitAny": false,
     "sourceMap": false,
+    "experimentalDecorators": true,
+    "emitDecoratorMetadata": true,
+    "importHelpers": true,
+    "removeComments": true,
     "outDir": "./dist",
     "lib": [
-      "es2015"
+      "dom",
+      "es2015",
+      "es2016",
+      "es2017",
+      "es2018",
+      "es2019"
     ],
-    "types": [
-      "node"
-    ]
+    "typeRoots": [
+      "node_modules/sitemap/node_modules/@types",
+      "node_modules/@types",
+      "server/typings"
+    ],
+    "baseUrl": "./",
+    "paths": {
+      "@server/*": [ "server/*" ],
+      "@shared/*": [ "shared/*" ]
+    }
   },
   "exclude": [
+    "server/tools/",
     "node_modules",
-    "client"
+    "dist",
+    "storage",
+    "client",
+    "test1",
+    "test2",
+    "test3",
+    "test4",
+    "test5",
+    "test6"
   ]
 }