Skip to content

Commit

Permalink
Simplified babel config + extracted jest config + removed useless tsc…
Browse files Browse the repository at this point in the history
…onfig
  • Loading branch information
swernerx committed Jan 20, 2022
1 parent d256327 commit c093b4d
Show file tree
Hide file tree
Showing 5 changed files with 102 additions and 1,166 deletions.
21 changes: 20 additions & 1 deletion babel.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
{
"presets": [
"edge"
[
"@babel/preset-env",
{
"loose": true,
"useBuiltIns": "usage",
"corejs": "3.20",
"targets": {
"node": 16
}
}
]
],
"plugins": [
[
"@babel/plugin-transform-runtime",
{
"helpers": true,
"regenerator": false
}
]
]
}
11 changes: 11 additions & 0 deletions jest.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"coveragePathIgnorePatterns": [
"test",
"node_modules"
],
"testEnvironment": "node",
"testPathIgnorePatterns": [
"output",
"coverage"
]
}
Loading

0 comments on commit c093b4d

Please sign in to comment.