X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tsconfig.json;h=058da4f78d4543cbd3ab86bf306f8de16045a6e5;hb=bca60926173b78121728c2e076db3b54284fcd8b;hp=03988123061ca40930f983372bc293b10f6656b5;hpb=65fcc3119c334b75dd13bcfdebf186afdc580a8f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tsconfig.json b/tsconfig.json index 039881230..058da4f78 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,19 +1,42 @@ { "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", + "es2018", + "es2019" ], - "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" ] }