X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tsconfig.json;h=5ed870c5c3a74b7bdff326e54c7d53a76cdc604a;hb=3155c8606cff211f495bf71c75c56cae85a5430f;hp=c84b179cfe01cc2740a39dd61484067db1065db2;hpb=dc27668fceb1d0270c391c93c3bbc95d12e83218;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tsconfig.json b/tsconfig.json index c84b179cf..5ed870c5c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,14 +14,15 @@ "es2016", "es2017" ], - "types": [ - "node", - "chai-xml", - "chai-json-schema" - ] + "typeRoots": [ "node_modules/@types", "server/typings" ], + "baseUrl": "./", + "paths": { + "@server/typings/*": [ "server/typings/*" ], + "@server/models/*": [ "server/models/*" ] + } }, "exclude": [ - "client/node_modules", + "server/tools/", "node_modules", "dist", "storage",