]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/tsconfig.json
Add ability to list video imports
[github/Chocobozzz/PeerTube.git] / client / tsconfig.json
index 10573b8ee4e1c188b8d90ba3ec8dfad03dcc3410..6ac5e6a9e46e261a05e32c4c36607e4bcb1bb99b 100644 (file)
@@ -1,37 +1,38 @@
 {
+  "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": [
-      "node",
-      "source-map",
-      "uglify-js",
-      "webpack"
-    ]
+    "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"
+  ]
 }