Skip to content

Commit

Permalink
chore: add tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jul 17, 2020
1 parent 870ff6b commit 66dcc7a
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions lib/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 66dcc7a

Please sign in to comment.