X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=cb6d3924541d572b7b3c09a5eded37074d2fb229;hb=4555697f216e894e5651d8f6d3d971e7d0c17d17;hp=24583f6c3e57168a8c54da3178a5c8f5c553aa02;hpb=d3ef341abe8fb890a085189f5e4d0a5bd38d0172;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 24583f6c3..cb6d39245 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,66 +1,26 @@ { + "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": [ - "app/app.component.ts", - "app/friends/friend.service.ts", - "app/friends/index.ts", - "app/shared/index.ts", - "app/shared/search-field.type.ts", - "app/shared/search.component.ts", - "app/shared/search.model.ts", - "app/users/index.ts", - "app/users/login/index.ts", - "app/users/login/login.component.ts", - "app/users/shared/auth-status.model.ts", - "app/users/shared/auth.service.ts", - "app/users/shared/index.ts", - "app/users/shared/token.model.ts", - "app/users/shared/user.model.ts", - "app/videos/index.ts", - "app/videos/shared/index.ts", - "app/videos/shared/loader/index.ts", - "app/videos/shared/loader/loader.component.ts", - "app/videos/shared/pagination.model.ts", - "app/videos/shared/sort-field.type.ts", - "app/videos/shared/video.model.ts", - "app/videos/shared/video.service.ts", - "app/videos/video-add/index.ts", - "app/videos/video-add/video-add.component.ts", - "app/videos/video-list/index.ts", - "app/videos/video-list/video-list.component.ts", - "app/videos/video-list/video-miniature.component.ts", - "app/videos/video-list/video-sort.component.ts", - "app/videos/video-watch/index.ts", - "app/videos/video-watch/video-watch.component.ts", - "app/videos/video-watch/webtorrent.service.ts", - "main.ts", - "typings/globals/es6-shim/index.d.ts", - "typings/globals/jasmine/index.d.ts", - "typings/globals/jquery.fileupload/index.d.ts", - "typings/globals/jquery/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" ] + } } }