X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=a0fbc27c682ef665b9befeaf898129e84cbc5839;hb=978c9d497b36e52196eb7e755406571e5d57cbc7;hp=ca58ddb899554265d570abf670136914b2a79421;hpb=6f4e252246c715a1dafc1e236c8074b08cdd12a3;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index ca58ddb89..a0fbc27c6 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,18 +1,55 @@ { + "compileOnSave": false, "compilerOptions": { - "target": "es5", - "module": "system", - "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": [ + "../../shared" ], - "compileOnSave": false + "exclude": [ + "../../node_modules", + "../node_modules", + "../dist", + "../../server", + "../src/**/*.spec.ts" + ] }