diff tsconfig.json @ 20:9ec3cbc8791a

build is running, but no tests, and lots of code is disabled
author drewp@bigasterisk.com
date Fri, 13 Dec 2019 01:18:00 -0800
parents 4bf74032e2e8
children e90d9021c6a0
line wrap: on
line diff
--- a/tsconfig.json	Thu Dec 12 23:07:06 2019 -0800
+++ b/tsconfig.json	Fri Dec 13 01:18:00 2019 -0800
@@ -1,38 +1,27 @@
 {
     "compilerOptions": {
+        "alwaysStrict": true,
+        "declaration": true,
+        "experimentalDecorators": true,
+        "lib": [ "es6", "dom" ],
+        "module": "commonjs",
+        "noFallthroughCasesInSwitch": true,
+        "noImplicitAny": true,
+        "noImplicitReturns": true,
+        "noImplicitThis": true,
+        "outDir": "./build/js",
+        "strict": true,
+        "strictFunctionTypes": true,
+        "strictNullChecks": true,
+        "strictPropertyInitialization": true,
+        "target": "es6",
         // "allowSyntheticDefaultImports": true,
         // "baseUrl": "./",
-        "declaration": true,
         // "emitDecoratorMetadata": true,
         // "esModuleInterop": true,
-        // "experimentalDecorators": true,
-        // "lib": ["es6", "dom"],
-        "module": "commonjs",
-        // "moduleResolution": "node",
-        // "resolveJsonModule": true,
-        // "rootDirs": ["node_modules"],
-        "target": "es5",
-        "outDir": "./tsout_what_is_this",
-        "strict": true /* Enable all strict type-checking options. */,
-        "noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
-        "strictNullChecks": true /* Enable strict null checks. */,
-        // "strictFunctionTypes": true,           /* Enable strict checking of function types. */
-        "strictPropertyInitialization": true /* Enable strict checking of property initialization in classes. */,
-        "noImplicitThis": true /* Raise error on 'this' expressions with an implied 'any' type. */,
-        "alwaysStrict": true /* Parse in strict mode and emit "use strict" for each source file. */,
-        /* Additional Checks */
-        "noUnusedLocals": true /* Report errors on unused locals. */,
-        // "noUnusedParameters": true,            /* Report errors on unused parameters. */
-        "noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
-        "noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
-        // "importHelpers": true,
-        // "removeComments": true,
+        // "noUnusedLocals": true,
+        // "noUnusedParameters": true,
         // "rootDir": ".",
-        // "sourceMap": true,
-        "types": [
-            //  "node", 
-            "jest"
-        ],
-        // // "outDir": "../../dist/server-root",
+        // "types": [ "node", "jest" ],
     }
 }
\ No newline at end of file