Skip to content

Commit

Permalink
chore(tsc): enable incremental build and strict options
Browse files Browse the repository at this point in the history
  • Loading branch information
pmb0 committed Jun 9, 2020
1 parent 0c55b3e commit eeae439
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
tsconfig.build.tsbuildinfo
.eslintcache
dist
# Logs
Expand Down
8 changes: 5 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// https://github.com/microsoft/TypeScript-Node-Starter

{
"compilerOptions": {
"rootDir": "src",
Expand All @@ -8,14 +6,18 @@
"esModuleInterop": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"module": "CommonJS",
"moduleResolution": "Node",
"noImplicitAny": true,
"noUnusedLocals": true,
"outDir": "./dist",
"sourceMap": true,
"strict": true,
"target": "ES2018"
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"target": "ES2019"
},
"include": ["src/**/*", "__tests__/**/*", "example/**/*", "__mocks__/**/*"]
}

0 comments on commit eeae439

Please sign in to comment.