{"name":"babel-jest","version":"21.3.0-alpha.1e3ee68e","license":"MIT","_id":"babel-jest@21.3.0-alpha.1e3ee68e","maintainers":[{"name":"mjesun","email":"mjesun@hotmail.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"jeanlauliac","email":"jean@lauliac.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"}],"homepage":"https://github.com/facebook/jest#readme","bugs":{"url":"https://github.com/facebook/jest/issues"},"dist":{"shasum":"1b2adf05657d1019c7fd6be8f0b932a1ab03d0e7","tarball":"http://registry-npm.ywwl.com/babel-jest/download/babel-jest-21.3.0-alpha.1e3ee68e.tgz","integrity":"sha512-6RQ3fhu09p9IwXMzzNQ2eoPbP9iPMZEaOzlafolfawIqzpU+DWgPuGgaILm/JUtjEh76cpbpNvBpuN8O+uc+1A==","signatures":[{"sig":"MEQCIBXndVpIOw+p/LvKIwQTHKRzYWLUJBaFFh30uP2Svuj/AiAno1Q+lCbllid0HSSAwXOP6oJEvuG3akxpaXJ+zv+LqQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":2368,"noattachment":false,"key":"/babel-jest/-/babel-jest-21.3.0-alpha.1e3ee68e.tgz"},"main":"build/index.js","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"repository":{"url":"git+https://github.com/facebook/jest.git","type":"git"},"_npmVersion":"5.3.0","description":"Jest plugin to use babel for transformation.","directories":{},"_nodeVersion":"8.4.0","dependencies":{"babel-preset-jest":"21.3.0-alpha.1e3ee68e","babel-plugin-istanbul":"^4.0.0"},"devDependencies":{"babel-core":"^6.0.0"},"peerDependencies":{"babel-core":"^6.0.0 || ^7.0.0-alpha || ^7.0.0-beta || ^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/babel-jest-21.3.0-alpha.1e3ee68e.tgz_1506608458128_0.5679939882829785","host":"s3://npm-registry-packages"},"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":1506608458989,"_cnpm_publish_time":1506608458989,"dist-tags":{"latest":"30.5.2","next":"30.0.0-rc.1"}}