X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tsconfig.json;h=7eed7d0cd5b1d604be4c0f285d0bfa9f7fb1b87e;hb=6a9bdde9ba20121f3eb8662146bfffbf174c8822;hp=be910b309a00ed306741804874042e7f466452e0;hpb=0e1dc3e7c69995c691e1dd82e3c2bc68748661ca;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tsconfig.json b/tsconfig.json index be910b309..7eed7d0cd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,20 +1,40 @@ { "compilerOptions": { "module": "commonjs", - "target": "es5", + "target": "es2015", "noImplicitAny": false, "sourceMap": false, + "experimentalDecorators": true, + "emitDecoratorMetadata": true, + "removeComments": true, "outDir": "./dist", "lib": [ "dom", - "es2015" + "es2015", + "es2016", + "es2017" ], - "types": [ - "node" - ] + "typeRoots": [ + "node_modules/sitemap/node_modules/@types", + "node_modules/@types" + ], + "baseUrl": "./", + "paths": { + "@server/*": [ "server/*" ], + "@shared/*": [ "shared/*" ] + } }, "exclude": [ + "server/tools/", "node_modules", - "client" + "dist", + "storage", + "client", + "test1", + "test2", + "test3", + "test4", + "test5", + "test6" ] }