X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tsconfig.json;h=993acf81d43f03ad3efd868f2c47aacd1f7dc14d;hb=4fdc7350202044b7d326dfcbf646eb106e2041e5;hp=1c1472aae470e72fc477486e71a9c584cd5d77e9;hpb=f6a043df74bc755de8e658ba76a4e55980b96f66;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tsconfig.json b/tsconfig.json index 1c1472aae..993acf81d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,30 +1,21 @@ { + "extends": "./tsconfig.base.json", "compilerOptions": { - "module": "commonjs", - "target": "es2015", - "noImplicitAny": false, - "sourceMap": false, - "experimentalDecorators": true, - "emitDecoratorMetadata": true, - "outDir": "./dist", - "lib": [ - "dom", - "es2015", - "es2016", - "es2017" - ], - "types": [ - "node" + "outDir": "./dist/", + "baseUrl": "./", + "paths": { + "@server/*": [ "server/*" ], + "@shared/*": [ "shared/*" ] + }, + "typeRoots": [ + "server/typings", + "node_modules/@types" ] }, - "exclude": [ - "node_modules", - "client", - "test1", - "test2", - "test3", - "test4", - "test5", - "test6" - ] + "references": [ + { "path": "./shared" }, + { "path": "./server" }, + { "path": "./scripts" } + ], + "files": [ "server.ts", "server/types/express.d.ts" ] }