{"name":"babel-plugin-jest-hoist","version":"30.2.0","license":"MIT","_id":"babel-plugin-jest-hoist@30.2.0","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"}],"dist":{"shasum":"94c250d36b43f95900f3a219241e0f4648191ce2","tarball":"http://registry-npm.ywwl.com/babel-plugin-jest-hoist/download/babel-plugin-jest-hoist-30.2.0.tgz","fileCount":7,"integrity":"sha512-ftzhzSGMUnOzcCXd6WHdBGMyuwy15Wnn0iyyWGKgBDLxf9/s5ABuraCSpBX2uG0jUg4rqJnxsLc5+oYBqoxVaA==","signatures":[{"sig":"MEUCIQCclGCuKPvvPhLJw6VaCUy3LBgTtBMMOIrWYAdlhfRDjwIgetTWxG0IqKQd/DQl/ziXseEnCDvNkTCG5pWVrtWPUtc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14217,"size":5165,"noattachment":false,"key":"/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-30.2.0.tgz"},"main":"./build/index.js","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":"855864e3f9751366455246790be2bf912d4d0dac","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"repository":{"url":"https://github.com/jestjs/jest.git","type":"git","directory":"packages/babel-plugin-jest-hoist"},"_npmVersion":"lerna/4.3.0/node@v24.9.0+arm64 (darwin)","directories":{},"_nodeVersion":"24.9.0","dependencies":{"@types/babel__core":"^7.20.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.0.3","@babel/core":"^7.27.4","@types/node":"*","@babel/types":"^7.27.3","@babel-8/core":"npm:@babel/core@8.0.0-beta.1","@prettier/sync":"^0.5.5","@babel/preset-react":"^7.27.1","babel-plugin-tester":"^11.0.4","@babel-8/preset-react":"npm:@babel/preset-react@8.0.0-beta.1","@types/babel__template":"^7.4.4","@types/babel__traverse":"^7.20.7","@babel/preset-typescript":"^7.27.1","@babel-8/preset-typescript":"npm:@babel/preset-typescript@8.0.0-beta.1"},"_npmOperationalInternal":{"tmp":"tmp/babel-plugin-jest-hoist_30.2.0_1759044758024_0.24984972634516733","host":"s3://npm-registry-packages-npm-production"},"readme":"# babel-plugin-jest-hoist\n\nBabel plugin to hoist `jest.disableAutomock`, `jest.enableAutomock`, `jest.unmock`, `jest.mock`, calls above `import` statements. This plugin is automatically included when using [babel-jest](https://github.com/jestjs/jest/tree/main/packages/babel-jest).\n\n## Installation\n\n```sh\n$ yarn add --dev babel-plugin-jest-hoist\n```\n\n## Usage\n\n### Via `babel.config.js` (Recommended)\n\n```js\nmodule.exports = {\n  plugins: ['jest-hoist'],\n};\n```\n\n### Via CLI\n\n```sh\n$ babel --plugins jest-hoist script.js\n```\n\n### Via Node API\n\n```javascript\nrequire('@babel/core').transform('code', {\n  plugins: ['jest-hoist'],\n});\n```\n","publish_time":1759044758250,"_cnpm_publish_time":1759044758250,"dist-tags":{"latest":"30.5.0","next":"30.0.0-beta.8"}}