Skip to content

Commit

Permalink
build: fixes tsconfig to fix jest warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
moltar committed Jul 21, 2020
1 parent 8b5de4a commit a6c9f92
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
9 changes: 7 additions & 2 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"outDir": "lib"
},
"exclude": [
"./src/*.test.ts"
"src/**/*.test.ts",
"test",
"dangerfile.ts"
]
}
}
11 changes: 9 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{
"extends": "tsconfigs/nodejs-module",
"compilerOptions": {
"outDir": "lib"
"lib": [
"ES2019"
],
"target": "ES2019"
},
}
"include": [
"src/**/*.ts",
"test/**/*.ts"
]
}

0 comments on commit a6c9f92

Please sign in to comment.