X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=d48bd392009b206313a4e51e2cd6b41a422cd91d;hb=33f12c744149b271281226a1759eb744a7417412;hp=ca58ddb899554265d570abf670136914b2a79421;hpb=6f4e252246c715a1dafc1e236c8074b08cdd12a3;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index ca58ddb89..d48bd3920 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "target": "es5", - "module": "system", + "module": "commonjs", "moduleResolution": "node", "sourceMap": true, "emitDecoratorMetadata": true, @@ -9,10 +9,55 @@ "removeComments": false, "noImplicitAny": false }, + "filesGlob": [ + "**/*.ts", + "!node_modules/**" + ], "exclude": [ "node_modules", "typings/main", "typings/main.d.ts" ], - "compileOnSave": false + "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", + "main.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 + } }