{"name":"babel-plugin-jest-hoist","version":"30.4.0","license":"MIT","_id":"babel-plugin-jest-hoist@30.4.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":"f7d6a6d8f435808b56b45a81dc4b61a39e36794a","tarball":"http://registry-npm.ywwl.com/babel-plugin-jest-hoist/download/babel-plugin-jest-hoist-30.4.0.tgz","fileCount":6,"integrity":"sha512-9EdtWM/sSfXLOGLwSn+GS6pIXyBnL07/8gyJlwFXjWy4DxMOyItqyUT29d4lQiS380EZwYlX7/At4PgBS+m2aA==","signatures":[{"sig":"MEUCIQC/3YIXoEXUHy9+ioSds1ZLNeDxpyHPhulsdS7FjloIxQIgctVQ+zFIZidOBfeLscexuYL8xketjRLCW+gk27a+344=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13905,"size":5081,"noattachment":false,"key":"/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-30.4.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":"5cbb21e0b3037edb42e503ec1a1ce80efad40c20","_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"repository":{"url":"https://github.com/jestjs/jest.git","type":"git","directory":"packages/babel-plugin-jest-hoist"},"_npmVersion":"lerna/4.3.0/node@v26.0.0+arm64 (darwin)","directories":{},"_nodeVersion":"26.0.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-rc.4","@prettier/sync":"^0.6.0","@babel/preset-react":"^7.27.1","babel-plugin-tester":"^11.0.4","@babel-8/preset-react":"npm:@babel/preset-react@8.0.0-rc.4","@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-rc.4"},"_npmOperationalInternal":{"tmp":"tmp/babel-plugin-jest-hoist_30.4.0_1778179303258_0.4749482230453239","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":1778179303448,"_cnpm_publish_time":1778179303448,"dist-tags":{"latest":"30.5.0","next":"30.0.0-beta.8"}}