X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=e041769dd9c8a170f74ba3935ef37e8118e27d60;hb=ebc1984cc6200377d9869e570bc0ad1f95fa74bb;hp=3e4648cf7914e37b6362164f1cf347adc15a52a6;hpb=230809efa1e7e81ce60cd65f8b398f01a27d525b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 3e4648cf7..e041769dd 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,18 +1,47 @@ { + "compileOnSave": false, "compilerOptions": { - "target": "es5", - "module": "commonjs", - "moduleResolution": "node", + "outDir": "./dist/out-tsc", "sourceMap": true, + "declaration": false, + "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "removeComments": false, - "noImplicitAny": false + "noImplicitAny": false, + "target": "es5", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2017", + "es2016", + "es2015", + "dom" + ], + "types": [ + "jasmine" + ], + "baseUrl": "src", + "paths": { + "@app/*": [ "app/*" ], + "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ], + "fs": [ "./shims/noop" ], + "http": [ "./shims/http" ], + "https": [ "./shims/https" ], + "path": [ "./shims/path" ], + "stream": [ "./shims/noop" ], + "crypto": [ "./shims/noop" ] + } + }, + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true }, "exclude": [ + "../node_modules", "node_modules", - "typings/main", - "typings/main.d.ts" - ], - "compileOnSave": false + "dist", + "../server", + "src/**/*.spec.ts" + ] }