X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=41814d0362500499541f63ca38016613a5117877;hb=f332d502d5d6a6c7ab62199c8b45f24e488f48e7;hp=f99c5d87d47f1f3a63fddfe9b29dc6c135e87c35;hpb=f36da21e40104a50acb00132920b835240cebb38;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index f99c5d87d..41814d036 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -7,52 +7,62 @@ "declaration": false, "moduleResolution": "node", "module": "esnext", - "emitDecoratorMetadata": true, "experimentalDecorators": true, "noImplicitAny": true, "noImplicitThis": true, "suppressImplicitAnyIndexErrors":true, "alwaysStrict": true, + "importHelpers": true, + "allowSyntheticDefaultImports": true, "strictBindCallApply": true, "target": "es2015", "typeRoots": [ "node_modules/@types" ], "lib": [ + "es2018", "es2017", "es2016", "es2015", "dom" ], - "types": [ - "jasmine" - ], - "baseUrl": "src", + "baseUrl": "./", "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" ] + "hls.js": [ "node_modules/hls.js/dist/hls.light" ], + "video.js": [ "node_modules/video.js/core" ], + "@app/*": [ "src/app/*" ], + "@shared/models/*": [ "../shared/models/*" ], + "@shared/models": [ "../shared/models" ], + "@shared/core-utils": [ "../shared/core-utils" ], + "@shared/core-utils/*": [ "../shared/core-utils/*" ], + "@shared/typescript-utils": [ "../shared/typescript-utils" ], + "@shared/typescript-utils/*": [ "../shared/typescript-utils/*" ], + "@root-helpers/*": [ "src/root-helpers/*" ], + "fs": [ "src/shims/noop.ts" ], + "http": [ "src/shims/http.ts" ], + "https": [ "src/shims/https.ts" ], + "path": [ "src/shims/path.ts" ], + "stream": [ "src/shims/stream.ts" ], + "crypto": [ "src/shims/noop.ts" ] } }, - "angularCompilerOptions": { - "strictInjectionParameters": true, - "fullTemplateTypeCheck": true - }, + "files": [ + "src/polyfills.ts" + ], "include": [ - "./src", - "../../shared" + "src/main*.ts", + "src/**/*.d.ts", + "src/shims/*.ts" ], "exclude": [ - "../../node_modules", "../node_modules", - "../dist", - "../../server", - "../src/**/*.spec.ts" - ] + "../server", + "node_modules" + ], + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true, + "strictTemplates": true, + "enableI18nLegacyMessageIdFormat": false + } }