X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=56e7b68ee448be28e046b6027bfaef00753fbe55;hb=d1a233d8d86ead1e3aa2350d5480eab3336b17d6;hp=df46b5d46b0f09b82cf91a823b085760400e3bc5;hpb=471bc22f19767c1cb1e7ba7ad0ddf0ff5f0e88f4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index df46b5d46..56e7b68ee 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,48 +1,65 @@ { + "compileOnSave": false, "compilerOptions": { - "target": "es5", - "module": "commonjs", - "moduleResolution": "node", + "downlevelIteration": true, + "outDir": "./dist/out-tsc", "sourceMap": true, - "emitDecoratorMetadata": true, + "declaration": false, + "moduleResolution": "node", + "module": "esnext", "experimentalDecorators": true, - "removeComments": false, - "noImplicitAny": false + "noImplicitAny": true, + "noImplicitThis": true, + "suppressImplicitAnyIndexErrors":true, + "alwaysStrict": true, + "importHelpers": true, + "strictBindCallApply": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "es2017", + "es2016", + "es2015", + "dom" + ], + "baseUrl": "./", + "paths": { + "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/*" ], + "@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" ] + } }, - "filesGlob": [ - "**/*.ts", - "!node_modules/**" + "files": [ + "src/polyfills.ts" ], - "exclude": [ - "node_modules", - "typings/main", - "typings/main.d.ts" + "include": [ + "src/main*.ts", + "src/**/*.d.ts", + "src/shims/*.ts" ], - "compileOnSave": false, - "files": [ - "angular/app/app.component.ts", - "angular/app/search.component.ts", - "angular/app/search.ts", - "angular/friends/services/friends.service.ts", - "angular/main.ts", - "angular/users/components/login/login.component.ts", - "angular/users/models/authStatus.ts", - "angular/users/models/token.ts", - "angular/users/models/user.ts", - "angular/users/services/auth.service.ts", - "angular/videos/components/add/videos-add.component.ts", - "angular/videos/components/list/video-miniature.component.ts", - "angular/videos/components/list/videos-list.component.ts", - "angular/videos/components/watch/videos-watch.component.ts", - "angular/videos/pagination.ts", - "angular/videos/video.ts", - "angular/videos/videos.service.ts", - "typings/globals/es6-shim/index.d.ts", - "typings/globals/jasmine/index.d.ts", - "typings/globals/node/index.d.ts", - "typings/index.d.ts" + "exclude": [ + "../node_modules", + "../server", + "node_modules" ], - "atom": { - "rewriteTsconfig": true + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true, + "strictTemplates": true, + "enableI18nLegacyMessageIdFormat": false } }