X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=beca79e01f7d89c967f4c072b0d86230a45cd858;hb=2f1548fda32c3ba9e53913270394eedfacd55986;hp=115af1f83d21056a51d672bab3e7cf7d81af4b48;hpb=a17bc2c34e79c144b7e71ff903c16c2e68371b48;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 115af1f83..beca79e01 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,39 +1,50 @@ { + "compileOnSave": false, "compilerOptions": { - "target": "es5", - "module": "commonjs", + "outDir": "./dist/out-tsc", + "sourceMap": true, + "declaration": false, "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "allowSyntheticDefaultImports": true, - "sourceMap": true, - "noEmitHelpers": true, - "importHelpers": true, - "strictNullChecks": false, - "baseUrl": "./src", - "paths": [ + "noImplicitAny": true, + "noImplicitThis": true, + "suppressImplicitAnyIndexErrors":true, + "alwaysStrict": true, + "target": "es5", + "typeRoots": [ + "node_modules/@types" ], "lib": [ - "dom", - "es6" + "es2017", + "es2016", + "es2015", + "dom" ], "types": [ - "node", - "source-map", - "uglify-js", - "videojs", - "webpack" - ] + "jasmine" + ], + "baseUrl": "src", + "paths": { + "@app/*": [ "app/*" ], + "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" ] + } + }, + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true }, "exclude": [ + "../node_modules", "node_modules", - "dist" - ], - "awesomeTypescriptLoaderOptions": { - "forkChecker": true, - "useWebpackText": true - }, - "compileOnSave": false, - "buildOnSave": false, - "atom": { "rewriteTsconfig": false } + "dist", + "../server", + "src/**/*.spec.ts" + ] }