Add hardware information in instance config
[oweals/peertube.git] / tsconfig.json
index 03988123061ca40930f983372bc293b10f6656b5..f2985f82b1c3b408f10d18ec02068d251c2478d3 100644 (file)
@@ -1,19 +1,37 @@
 {
   "compilerOptions": {
     "module": "commonjs",
-    "target": "es5",
+    "target": "es2015",
     "noImplicitAny": false,
     "sourceMap": false,
+    "experimentalDecorators": true,
+    "emitDecoratorMetadata": true,
+    "removeComments": true,
     "outDir": "./dist",
     "lib": [
-      "es2015"
+      "dom",
+      "es2015",
+      "es2016",
+      "es2017"
     ],
-    "types": [
-      "node"
-    ]
+    "typeRoots": [ "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"
   ]
 }