X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=60c343867496496f0b30648622839a5b941f7c11;hb=b63e428e8bf1ed1457ab1888350809bd78ce4d2f;hp=8e786ca28cc7ffa671fe820493cbf905016bb80a;hpb=157cb9c9713e08ff70078660a32dd77ecb87eabc;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 8e786ca28..60c343867 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,51 +1,32 @@ { + "compileOnSave": false, "compilerOptions": { - "target": "es5", - "module": "commonjs", - "moduleResolution": "node", + "outDir": "./dist/out-tsc", "sourceMap": true, + "declaration": false, + "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "removeComments": false, - "noImplicitAny": false - }, - "filesGlob": [ - "**/*.ts", - "!node_modules/**" - ], - "exclude": [ - "node_modules", - "typings/main", - "typings/main.d.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/sort.ts", - "angular/videos/components/list/video-miniature.component.ts", - "angular/videos/components/list/video-sort.component.ts", - "angular/videos/components/list/videos-list.component.ts", - "angular/videos/components/watch/videos-watch.component.ts", - "angular/videos/loader.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" - ], - "atom": { - "rewriteTsconfig": true + "target": "es5", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2017", + "es2016", + "es2015", + "dom" + ], + "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" ] + } } }