From 66dcc7ab8b64a8c2bbbaf8a8ab2916c5d1f783c3 Mon Sep 17 00:00:00 2001 From: aminya Date: Fri, 17 Jul 2020 07:47:46 -0500 Subject: [PATCH] chore: add tsconfig --- lib/tsconfig.json | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 lib/tsconfig.json diff --git a/lib/tsconfig.json b/lib/tsconfig.json new file mode 100644 index 0000000..01018fe --- /dev/null +++ b/lib/tsconfig.json @@ -0,0 +1,40 @@ +{ + "compilerOptions": { + //// Linting Options - Uncomment options to get more features (usually more restrictive) + "strict": true, + "strictNullChecks": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noImplicitReturns": true, + "noImplicitAny": true, + "noImplicitThis": true, + "noFallthroughCasesInSwitch": true, + //// Compilation options + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "incremental": true, + // "preserveConstEnums": true, + "inlineSourceMap": true, + "inlineSources": true, + "preserveSymlinks": true, + "removeComments": true, + // + "jsx": "react", + "jsxFactory": "etch.dom", + // + "lib": ["ES2018", "dom"], + "target": "ES2018", + // + "allowJs": true, + "esModuleInterop": true, + "module": "commonjs", + "moduleResolution": "node", + // "noLib": false, + "importHelpers": false, + // if true you should add tslib to deps + // "skipLibCheck": false, + "outDir": "../dist" + }, + "compileOnSave": false +}