X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=client%2Ftsconfig.json;h=e46528d1c9117717cd9c5bc8d304ec88d2aa64b7;hb=2b3f1919fda81c2781ceeb9071d426c184e1b21c;hp=3e4648cf7914e37b6362164f1cf347adc15a52a6;hpb=230809efa1e7e81ce60cd65f8b398f01a27d525b;p=oweals%2Fpeertube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 3e4648cf7..e46528d1c 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,18 +1,56 @@ { + "compileOnSave": false, "compilerOptions": { - "target": "es5", - "module": "commonjs", - "moduleResolution": "node", + "outDir": "./dist/out-tsc", "sourceMap": true, + "declaration": false, + "moduleResolution": "node", + "module": "esnext", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "removeComments": false, - "noImplicitAny": false + "noImplicitAny": true, + "noImplicitThis": true, + "suppressImplicitAnyIndexErrors":true, + "alwaysStrict": true, + "target": "es5", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2017", + "es2016", + "es2015", + "dom" + ], + "types": [ + "jasmine" + ], + "baseUrl": "src", + "paths": { + "@app/*": [ "app/*" ], + "@shared/*": [ "../../shared/*" ], + "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" ] + } }, - "exclude": [ - "node_modules", - "typings/main", - "typings/main.d.ts" + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true + }, + "include": [ + "./src", + "../../shared" ], - "compileOnSave": false + "exclude": [ + "../../node_modules", + "../node_modules", + "../dist", + "../../server", + "../src/**/*.spec.ts" + ] }