{"_id":"babel-jest@30.5.2","bugs":{"url":"https://github.com/jestjs/jest/issues"},"dist":{"shasum":"ee4b3b265baf9dad68e6275bc813ef35d1736e6d","tarball":"http://registry-npm.ywwl.com/babel-jest/download/babel-jest-30.5.2.tgz","fileCount":6,"integrity":"sha512-ES8WeJ2fNWPEDunyAtUfJ12nHyaWUloCHdkfK2oW5uSoQSUmjNKdWiGaXJITJwvFEWoD/evHEg/QoCXAvLaQqQ==","signatures":[{"sig":"MEUCIGHWIUBmZC7JlBQXQyPVKoE6/NoKOcCHCTp51Z+34LWUAiEA10Gr+R5mlsnajKZC8dhM3N81OAu29X10jP/Mvm+7igY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDoeoZS3pcdlb3Mb279MbbrWMbPLAKtJBmCJG2YbDJigAiEAkAw8D9m+D1Ct0FGTozFl9El4SQFAkAa/OdbiGQfL6gI="}],"unpackedSize":15618,"size":4873,"noattachment":false,"key":"/babel-jest/-/babel-jest-30.5.2.tgz"},"main":"./build/index.js","name":"babel-jest","types":"./build/index.d.ts","engines":{"node":"^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"},"exports":{".":{"types":"./build/index.d.ts","import":"./build/index.mjs","default":"./build/index.js","require":"./build/index.js"},"./package.json":"./package.json"},"gitHead":"202dd8a14777c270607c2416bd5034c3c0abc984","license":"MIT","version":"30.5.2","_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"homepage":"https://github.com/jestjs/jest#readme","repository":{"url":"git+https://github.com/jestjs/jest.git","type":"git","directory":"packages/babel-jest"},"_npmVersion":"lerna/4.11.5/node@v26.8.1+arm64 (darwin)","description":"Jest plugin to use babel for transformation.","directories":{},"maintainers":[{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"rickhanlonii","email":"rickhanlonii@gmail.com"},{"name":"openjs-operations","email":"operations@openjsf.org"},{"name":"cpojer","email":"christoph.pojer@gmail.com"}],"_nodeVersion":"26.8.1","dependencies":{"chalk":"^4.1.2","slash":"^3.0.0","graceful-fs":"^4.2.11","@jest/transform":"30.5.2","babel-preset-jest":"30.5.0","@types/babel__core":"^7.20.5","babel-plugin-istanbul":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@babel/core":"^7.27.4","@babel-8/core":"npm:@babel/core@^8.0.0","@jest/test-utils":"30.5.2","@types/graceful-fs":"^4.1.9"},"peerDependencies":{"@babel/core":"^7.11.0 || ^8.0.0-0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/babel-jest_30.5.2_1789739788672_0.09928064117969759"},"readme":"# babel-jest\n\n[Babel](https://github.com/babel/babel) [jest](https://github.com/jestjs/jest) plugin\n\n## Usage\n\nIf you are already using `jest-cli`, add `babel-jest` and it will automatically compile JavaScript code using Babel.\n\n```bash\nyarn add --dev babel-jest @babel/core\n```\n\nIf you would like to write your own preprocessor, uninstall and delete babel-jest and set the [config.transform](https://jestjs.io/docs/configuration#transform-object-string-string) option to your preprocessor.\n\n## Setup\n\n_Note: this step is only required if you are using `babel-jest` with additional code preprocessors._\n\nTo explicitly define `babel-jest` as a transformer for your JavaScript code, map _.js_ files to the `babel-jest` module. Typescript files are also supported.\n\nBy default, it loads your existing Babel configuration (if any)\n\n```json\n\"transform\": {\n  \"\\\\.[jt]sx?$\": \"babel-jest\"\n},\n```\n\nYou can also pass further [babel options](https://babeljs.io/docs/options)\n\n```json\n\"transform\": {\n  \"\\\\.[jt]sx?$\": [\"babel-jest\", { \"extends\": \"./babel.config.js\", \"plugins\": [\"babel-plugin-transform-import-meta\"] }]\n},\n```\n\nBy default, `babel-jest` includes `babel-preset-jest`. In addition to the babel options, we introduce a new option, `excludeJestPreset`, which allows you to disable this behavior. Note that this will break `jest.mock` hoisting.\n\n```json\n\"transform\": {\n  \"\\\\.[jt]sx?$\": [\"babel-jest\", { \"excludeJestPreset\": true }],\n}\n```\n","publish_time":1789739788752,"_cnpm_publish_time":1789739788752,"dist-tags":{"latest":"30.5.2","next":"30.0.0-rc.1"}}