X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=2345ca289b2314e31b0cf1c568dc4a5fba1d9e1e;hb=c7cd6799d120ad14742881ad4f2a113114a1e7c7;hp=c4e2a880473c37ace7c190c0177e408f8c3706b2;hpb=ab32b0fc805b92c5a1d7ac5901cb1a38e94622ca;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index c4e2a8804..2345ca289 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,41 +1,69 @@ { + "compileOnSave": false, "compilerOptions": { - "target": "es5", - "module": "commonjs", + "downlevelIteration": true, + "outDir": "./dist/out-tsc", + "sourceMap": true, + "declaration": false, "moduleResolution": "node", - "emitDecoratorMetadata": true, + "module": "es2020", "experimentalDecorators": true, + "noImplicitAny": true, + "noImplicitThis": true, + "suppressImplicitAnyIndexErrors":true, + "alwaysStrict": true, + "importHelpers": true, "allowSyntheticDefaultImports": true, - "sourceMap": true, - "noEmitHelpers": true, - "strictNullChecks": false, - "baseUrl": "./src", - "paths": [ + "strictBindCallApply": true, + "target": "es2017", + "typeRoots": [ + "node_modules/@types" ], "lib": [ - "dom", - "es6" + "ES2021.Intl", + "es2018", + "es2017", + "es2016", + "es2015", + "dom" ], - "types": [ - "hammerjs", - "jasmine", - "node", - "protractor", - "selenium-webdriver", - "source-map", - "uglify-js", - "webpack" - ] + "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/*" ], + "@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" ] + } }, + "files": [ + "src/polyfills.ts" + ], + "include": [ + "src/main*.ts", + "src/**/*.d.ts", + "src/shims/*.ts" + ], "exclude": [ - "node_modules", - "dist" + "../node_modules", + "../server", + "node_modules" ], - "awesomeTypescriptLoaderOptions": { - "forkChecker": true, - "useWebpackText": true - }, - "compileOnSave": false, - "buildOnSave": false, - "atom": { "rewriteTsconfig": false } + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true, + "strictTemplates": true, + "enableI18nLegacyMessageIdFormat": false + } }