X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=client%2Ftsconfig.json;h=43b27ce8eea04e40a719a11042744fbd60354ee2;hb=6de36768980ef6063b8fcd730b59fa685dd2b99c;hp=b10231b7b16bf30ff7b68877aa1f3e9fcd24afc1;hpb=58b2ba55a90f05f24661e664b1fb0a3486f037e8;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index b10231b7b..43b27ce8e 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,80 +1,23 @@ { + "compileOnSave": false, "compilerOptions": { - "target": "es5", - "module": "commonjs", - "moduleResolution": "node", + "outDir": "./dist/out-tsc", "sourceMap": true, + "declaration": false, + "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "noImplicitAny": false, - "noEmitHelpers": true - }, - "awesomeTypescriptLoaderOptions": { - "forkChecker": true - }, - "compileOnSave": false, - "buildOnSave": false, - "atom": { - "rewriteTsconfig": true - }, - "filesGlob": [ - "**/*.ts", - "!node_modules/**" - ], - "exclude": [ - "node_modules", - "typings/main", - "typings/main.d.ts" - ], - "files": [ - "src/app/account/account.component.ts", - "src/app/account/account.routes.ts", - "src/app/account/account.service.ts", - "src/app/account/index.ts", - "src/app/app.component.ts", - "src/app/app.routes.ts", - "src/app/friends/friend.service.ts", - "src/app/friends/index.ts", - "src/app/login/index.ts", - "src/app/login/login.component.ts", - "src/app/login/login.routes.ts", - "src/app/shared/auth/auth-http.service.ts", - "src/app/shared/auth/auth-status.model.ts", - "src/app/shared/auth/auth.service.ts", - "src/app/shared/auth/index.ts", - "src/app/shared/auth/user.model.ts", - "src/app/shared/index.ts", - "src/app/shared/search/index.ts", - "src/app/shared/search/search-field.type.ts", - "src/app/shared/search/search.component.ts", - "src/app/shared/search/search.model.ts", - "src/app/shared/search/search.service.ts", - "src/app/videos/index.ts", - "src/app/videos/shared/index.ts", - "src/app/videos/shared/loader/index.ts", - "src/app/videos/shared/loader/loader.component.ts", - "src/app/videos/shared/pagination.model.ts", - "src/app/videos/shared/sort-field.type.ts", - "src/app/videos/shared/video.model.ts", - "src/app/videos/shared/video.service.ts", - "src/app/videos/video-add/index.ts", - "src/app/videos/video-add/video-add.component.ts", - "src/app/videos/video-list/index.ts", - "src/app/videos/video-list/video-list.component.ts", - "src/app/videos/video-list/video-miniature.component.ts", - "src/app/videos/video-list/video-sort.component.ts", - "src/app/videos/video-watch/index.ts", - "src/app/videos/video-watch/video-watch.component.ts", - "src/app/videos/video-watch/webtorrent.service.ts", - "src/app/videos/videos.component.ts", - "src/app/videos/videos.routes.ts", - "src/custom-typings.d.ts", - "src/main.ts", - "src/polyfills.ts", - "src/vendor.ts", - "typings/globals/es6-shim/index.d.ts", - "typings/globals/jasmine/index.d.ts", - "typings/globals/node/index.d.ts", - "typings/index.d.ts" - ] + "target": "es5", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2017", + "dom" + ], + "baseUrl": "src", + "paths": { + "@app/*": [ "app/*" ] + } + } }