Skip to content

Commit

Permalink
Add babel to tests to enable Typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed May 20, 2024
1 parent eb6f98b commit a5b8bb7
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 45 deletions.
11 changes: 1 addition & 10 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
node: 'current',
},
},
],
],
presets: [['@babel/preset-env', {targets: {node: 'current'}}], '@babel/preset-typescript'],
};
108 changes: 73 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
},
"devDependencies": {
"@babel/preset-env": "^7.24.4",
"@babel/preset-typescript": "^7.24.1",
"@lwc/eslint-plugin-lwc": "^1.7.2",
"@types/jest": "^29.5.12",
"@types/react-dom": "^18.3.0",
Expand Down

0 comments on commit a5b8bb7

Please sign in to comment.