From 29208d8b4d8512ecfe38a0f3947ec7712284b21b Mon Sep 17 00:00:00 2001 From: Ryan Mwangi Date: Wed, 20 Nov 2024 15:21:11 +0300 Subject: [PATCH] build(babel): install babel/core, babel/plugin-transform-modules-commonjs, and babel-jest --- package-lock.json | 9 ++++++--- package.json | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index bb20f95..cf03fda 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,8 +17,11 @@ "supertest": "^7.0.0" }, "devDependencies": { + "@babel/core": "^7.26.0", + "@babel/plugin-transform-modules-commonjs": "^7.25.9", "@babel/preset-env": "^7.26.0", "@babel/register": "^7.25.9", + "babel-jest": "^29.7.0", "jest": "^29.7.0", "rewire": "^7.0.0" } @@ -3181,9 +3184,9 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "dependencies": { "path-key": "^3.1.0", diff --git a/package.json b/package.json index 93956f8..5dd19c3 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,11 @@ "type": "module", "license": "ISC", "devDependencies": { + "@babel/core": "^7.26.0", + "@babel/plugin-transform-modules-commonjs": "^7.25.9", "@babel/preset-env": "^7.26.0", "@babel/register": "^7.25.9", + "babel-jest": "^29.7.0", "jest": "^29.7.0", "rewire": "^7.0.0" }