X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tsconfig.json;h=075a3d86eccb416e9946e92a51b4005ecb70cb0d;hb=dd6d2a7ce50e7ff02e00995ccc87f8f929ad9709;hp=71674e165cb8856ce6dcb9f06d3cffc43352b841;hpb=3fd3ab2d34d512b160a5e6084d7609be7b4f4452;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tsconfig.json b/tsconfig.json index 71674e165..075a3d86e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,19 +6,41 @@ "sourceMap": false, "experimentalDecorators": true, "emitDecoratorMetadata": true, + "importHelpers": true, + "removeComments": true, + "strictBindCallApply": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, "outDir": "./dist", "lib": [ "dom", "es2015", "es2016", - "es2017" + "es2017", + "es2018", + "es2019" ], - "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" ] }