]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - tsconfig.json
Invalidate cache feed even after server restart
[github/Chocobozzz/PeerTube.git] / tsconfig.json
index 03988123061ca40930f983372bc293b10f6656b5..8bcd944e3cb50472021196e6b6e178947031871c 100644 (file)
@@ -1,19 +1,20 @@
 {
+  "extends": "./tsconfig.base.json",
   "compilerOptions": {
-    "module": "commonjs",
-    "target": "es5",
-    "noImplicitAny": false,
-    "sourceMap": false,
-    "outDir": "./dist",
-    "lib": [
-      "es2015"
-    ],
-    "types": [
-      "node"
+    "outDir": "./dist/",
+    "baseUrl": "./",
+    "paths": {
+      "@server/*": [ "server/*" ],
+      "@shared/*": [ "shared/*" ]
+    },
+    "typeRoots": [
+      "node_modules/@types"
     ]
   },
-  "exclude": [
-    "node_modules",
-    "client"
-  ]
+  "references": [
+    { "path": "./shared" },
+    { "path": "./server" },
+    { "path": "./scripts" }
+  ],
+  "files": [ "server.ts", "server/types/express.d.ts", "server/types/lib.d.ts" ]
 }