X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=f1d97110dfbbba3bed6acf38fa3018668a352f8c;hb=a89368105879d2468a2d474367a68d5c1be99089;hp=c4e2a880473c37ace7c190c0177e408f8c3706b2;hpb=ab32b0fc805b92c5a1d7ac5901cb1a38e94622ca;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index c4e2a8804..f1d97110d 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,41 +1,42 @@ { + "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, - "strictNullChecks": false, - "baseUrl": "./src", - "paths": [ + "target": "es5", + "typeRoots": [ + "node_modules/@types" ], "lib": [ - "dom", - "es6" + "es2017", + "es2016", + "es2015", + "dom" ], "types": [ - "hammerjs", - "jasmine", - "node", - "protractor", - "selenium-webdriver", - "source-map", - "uglify-js", - "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" ] + } }, "exclude": [ + "../node_modules", "node_modules", - "dist" - ], - "awesomeTypescriptLoaderOptions": { - "forkChecker": true, - "useWebpackText": true - }, - "compileOnSave": false, - "buildOnSave": false, - "atom": { "rewriteTsconfig": false } + "dist", + "../server", + "src/**/*.spec.ts" + ] }