diff service/wifi/tsconfig.json @ 1473:4bbc68603168

npm run build works now, accessing streamed-graph. But, s-g isn't in the output bundle yet. Ignore-this: 2b08220ad8d275f4dd242c3aa1a8647a darcs-hash:713c0960d19658e35685d64dc855ca63e1fde660
author drewp <drewp@bigasterisk.com>
date Sun, 29 Dec 2019 19:41:48 -0800
parents 32d134dbfb1e
children f2215949c0c9
line wrap: on
line diff
--- a/service/wifi/tsconfig.json	Sun Dec 22 00:37:31 2019 -0800
+++ b/service/wifi/tsconfig.json	Sun Dec 29 19:41:48 2019 -0800
@@ -1,32 +1,38 @@
 {
-    "compilerOptions": {
-        "alwaysStrict": true,
-        "declaration": true,
-        "experimentalDecorators": true,
-        "lib": [
-            "es2017",
-            "dom"
-        ],
-        "module": "commonjs",
-        "noFallthroughCasesInSwitch": true,
-        "noImplicitAny": true,
-        "noImplicitReturns": true,
-        "noImplicitThis": true,
-        "declarationDir": "./build",
-        "outDir": "./build/js",
-        "strict": true,
-        "strictFunctionTypes": true,
-        "strictNullChecks": true,
-        "strictPropertyInitialization": true,
-        "target": "es6",
-        "esModuleInterop": true,
-        "types": [
-            "jest"
-        ],
-        "sourceMap": true,
-        "baseUrl": "src",
-        "paths": {
-            "streamed-graph":["/tmp/sg/foo"]
-        }
-    }
-}
\ No newline at end of file
+  "compilerOptions": {
+    "strict": true,
+    "noFallthroughCasesInSwitch": true,
+    "noImplicitAny": true,
+    "noImplicitReturns": true,
+    "noImplicitThis": true,
+    "strictFunctionTypes": true,
+    "strictNullChecks": true,
+    "strictPropertyInitialization": true,
+    "alwaysStrict": true,
+
+    "types": ["jest"],
+    
+    "module": "ES6",
+    "target": "ES6", 
+    "moduleResolution": "node",
+    "sourceMap": true,
+    "declaration": true,
+    "experimentalDecorators": true,
+    "allowJs": true,
+    "esModuleInterop": true,
+    // "allowSyntheticDefaultImports": true,
+    // "rootDir": ".",
+    // "outDir": "./build",
+    "baseUrl": ".",
+    // "emitDecoratorMetadata": true,
+    // "lib": [ "es6", "dom" ],
+    "paths": {
+      "streamed-graph": ["node_modules/streamed-graph"]
+    },
+    "diagnostics": true,
+    "traceResolution": true
+
+  },
+  "include": ["src/**/*.ts"],
+  // "exclude": ["src/**/*.test.ts"]
+}