Updated babel plugins for jest

This commit is contained in:
Alejandro Celaya 2022-12-24 10:48:03 +01:00
parent 52f556eb2e
commit 1d1c8153e7
3 changed files with 2536 additions and 790 deletions

View file

@ -1,11 +1,9 @@
module.exports = { module.exports = {
presets: [ presets: [
[ ['@babel/preset-env', {
'react-app', targets: { esmodules: true }
{ }],
runtime: 'automatic', ['@babel/preset-react', { runtime: 'automatic' }],
typescript: true, '@babel/preset-typescript',
},
],
], ],
}; };

3309
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -24,6 +24,9 @@
"mutate": "./node_modules/.bin/stryker run --concurrency 4 --ignoreStatic" "mutate": "./node_modules/.bin/stryker run --concurrency 4 --ignoreStatic"
}, },
"dependencies": { "dependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@fortawesome/fontawesome-free": "^6.2.0", "@fortawesome/fontawesome-free": "^6.2.0",
"@fortawesome/fontawesome-svg-core": "^6.2.0", "@fortawesome/fontawesome-svg-core": "^6.2.0",
"@fortawesome/free-regular-svg-icons": "^6.2.0", "@fortawesome/free-regular-svg-icons": "^6.2.0",
@ -90,7 +93,7 @@
"@types/uuid": "^8.3.4", "@types/uuid": "^8.3.4",
"@vitejs/plugin-react": "^3.0.0", "@vitejs/plugin-react": "^3.0.0",
"adm-zip": "^0.5.9", "adm-zip": "^0.5.9",
"babel-jest": "^29.1.2", "babel-jest": "^29.3.1",
"chalk": "^5.0.1", "chalk": "^5.0.1",
"eslint": "^8.24.0", "eslint": "^8.24.0",
"identity-obj-proxy": "^3.0.0", "identity-obj-proxy": "^3.0.0",