{"name":"ts-jest","version":"29.3.4","keywords":["jest","typescript","sourcemap","react","testing"],"author":{"url":"https://github.com/kulshekhar","name":"Kulshekhar Kabra","email":"kulshekhar@users.noreply.github.com"},"license":"MIT","_id":"ts-jest@29.3.4","maintainers":[{"name":"kul","email":"kulshekhar+npm@gmail.com"},{"name":"anhpnnd","email":"anhpnnd@gmail.com"},{"name":"tsjest","email":"kulshekhar+tsjest@gmail.com"}],"contributors":[{"url":"https://github.com/huafu","name":"Huafu Gandon","email":"huafu.gandon@gmail.com"},{"url":"https://github.com/ahnpnl","name":"Anh Pham","email":"anhpnnd@gmail.com"},{"url":"https://github.com/GeeWee","name":"Gustav Wengel","email":"gustavwengel@gmail.com"}],"homepage":"https://kulshekhar.github.io/ts-jest","bugs":{"url":"https://github.com/kulshekhar/ts-jest/issues"},"bin":{"ts-jest":"cli.js"},"dist":{"shasum":"9354472aceae1d3867a80e8e02014ea5901aee41","tarball":"http://registry-npm.ywwl.com/ts-jest/download/ts-jest-29.3.4.tgz","fileCount":97,"integrity":"sha512-Iqbrm8IXOmV+ggWHOTEbjwyCf2xZlUMv5npExksXohL+tk8va4Fjhb+X2+Rt9NBmgO7bJ8WpnMLOwih/DnMlFA==","signatures":[{"sig":"MEUCIQCa1y3sut/eoRxGkBmA8urPGjDRJIaWAWf9qnAGP4cA8AIgW2UQOev3en+jpJdGxiYkfuq3pSEXkVWMXHYQZtwB2gU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":301913,"size":69066,"noattachment":false,"key":"/ts-jest/-/ts-jest-29.3.4.tgz"},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","engines":{"node":"^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0"},"gitHead":"ee81cc61b7b361819b46a083a30e706e66a48bbb","scripts":{"doc":"cd website && npm run start","lint":"eslint .","test":"jest -c=jest.config.ts","build":"tsc -p tsconfig.build.json","prepare":"npm run build","version":"npm run changelog && git add CHANGELOG.md","lint-fix":"eslint --fix .","prebuild":"rimraf --glob dist coverage *.tgz","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 1","doc:build":"cd website && npm run build","postbuild":"node scripts/post-build.js","preversion":"npm run test","test-e2e-cjs":"jest -c=jest-e2e-cjs.config.ts --no-cache","test-e2e-esm":"node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js -c=jest-e2e-esm.config.ts --no-cache","lint-prettier":"prettier \"**/*.{yml,yaml,md}\" --write","test-examples":"node scripts/test-examples.js","prepublishOnly":"npm run test","lint-prettier-ci":"prettier '**/*.{yml,yaml,md}' --check"},"_npmUser":{"name":"kul","email":"kulshekhar+npm@gmail.com"},"repository":{"url":"git+https://github.com/kulshekhar/ts-jest.git","type":"git"},"_npmVersion":"10.8.2","description":"A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript","directories":{},"_nodeVersion":"20.19.1","dependencies":{"ejs":"^3.1.10","json5":"^2.2.3","semver":"^7.7.2","bs-logger":"^0.2.6","jest-util":"^29.0.0","type-fest":"^4.41.0","make-error":"^1.3.6","yargs-parser":"^21.1.1","lodash.memoize":"^4.1.2","fast-json-stable-stringify":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^10.2.6","jest":"^29.7.0","execa":"5.1.1","husky":"^9.1.7","memfs":"^4.17.2","eslint":"^9.26.0","rimraf":"^5.0.10","esbuild":"~0.25.4","globals":"^16.1.0","js-yaml":"^4.1.0","fs-extra":"^11.3.0","prettier":"^2.8.8","@eslint/js":"^9.26.0","@types/ejs":"^3.1.5","babel-jest":"^29.7.0","typescript":"~5.8.3","@jest/types":"^29.6.3","@types/jest":"^29.5.14","@types/node":"20.17.47","lint-staged":"^15.5.2","@types/yargs":"^17.0.33","@jest/globals":"^29.7.0","@types/semver":"^7.7.0","@eslint/compat":"^1.2.9","@types/js-yaml":"^4.0.9","glob-gitignore":"^1.0.15","@commitlint/cli":"^19.8.1","@jest/transform":"^29.7.0","@types/fs-extra":"^11.0.4","@eslint/eslintrc":"^3.3.1","@types/lodash.set":"^4.3.9","@types/micromatch":"^4.0.9","typescript-eslint":"^8.32.1","@types/babel__core":"^7.20.5","eslint-plugin-jest":"^28.11.0","@types/yargs-parser":"21.0.3","eslint-plugin-jsdoc":"^50.6.17","eslint-plugin-import":"^2.31.0","@types/lodash.memoize":"^4.1.9","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^4.2.1","@types/lodash.camelcase":"^4.3.9","@typescript-eslint/parser":"^8.32.1","@commitlint/config-angular":"^19.8.1","conventional-changelog-cli":"^5.0.0","@typescript-eslint/eslint-plugin":"^8.32.1"},"peerDependencies":{"jest":"^29.0.0","babel-jest":"^29.0.0","typescript":">=4.3 <6","@babel/core":">=7.0.0-beta.0 <8","@jest/types":"^29.0.0","@jest/transform":"^29.0.0"},"peerDependenciesMeta":{"esbuild":{"optional":true},"babel-jest":{"optional":true},"@babel/core":{"optional":true},"@jest/types":{"optional":true},"@jest/transform":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/ts-jest_29.3.4_1747419407302_0.710552561986767","host":"s3://npm-registry-packages-npm-production"},"readme":"<h1 align=\"center\">ts-jest</h1>\n\n<p align=\"center\">A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript.</p>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/ts-jest\"><img src=\"https://img.shields.io/npm/v/ts-jest/latest.svg?style=flat-square\" alt=\"NPM version\" /> </a>\n  <a href=\"https://www.npmjs.com/package/ts-jest\"><img src=\"https://img.shields.io/npm/dm/ts-jest.svg?style=flat-square\" alt=\"NPM downloads\"/> </a>\n  <a href=\"https://snyk.io/test/github/kulshekhar/ts-jest\"><img src=\"https://snyk.io/test/github/kulshekhar/ts-jest/badge.svg?style=flat-square\" alt=\"Known vulnerabilities\"/> </a>\n  <a href=\"https://coveralls.io/github/kulshekhar/ts-jest?branch=main\"><img src=\"https://coveralls.io/repos/github/kulshekhar/ts-jest/badge.svg?branch=main\" alt=\"Coverage status\"/> </a>\n  <a href=\"https://actions-badge.atrox.dev/kulshekhar/ts-jest/goto?ref=main\"><img alt=\"GitHub actions\" src=\"https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fkulshekhar%2Fts-jest%2Fbadge%3Fref%3Dmain&style=flat-square\" /> </a>\n  <a href=\"https://github.com/kulshekhar/ts-jest/blob/main/LICENSE.md\"><img src=\"https://img.shields.io/npm/l/ts-jest.svg?style=flat-square\" alt=\"GitHub license\"/> </a>\n  <a href=\"https://gurubase.io/g/ts-jest\"><img src=\"https://img.shields.io/badge/Gurubase-Ask%20ts--jest%20Guru-006BFF?style=flat-square\" alt=\"Gurubase\"/> </a>\n</p>\n\n<img src=\"./icon.png\" align=\"right\" title=\"ts-jest Logo\" width=\"128\" height=\"128\">\n\nIt supports all features of TypeScript including type-checking. [Read more about Babel7 + `preset-typescript` **vs** TypeScript (and `ts-jest`)](https://kulshekhar.github.io/ts-jest/docs/babel7-or-ts).\n\n---\n\n| We are not doing semantic versioning and `23.10` is a re-write, run `npm i -D ts-jest@\"<23.10.0\"` to go back to the previous version |\n| ------------------------------------------------------------------------------------------------------------------------------------ |\n\n[<img src=\"./website/static/img/documentation.png\" align=\"left\" height=\"24\"> View the online documentation (usage & technical)](https://kulshekhar.github.io/ts-jest)\n\n[<img src=\"./website/static/img/discord.svg\" align=\"left\" height=\"24\"> Ask for some help in the `Jest` Discord community](https://discord.gg/j6FKKQQrW9) or [`ts-jest` GitHub Discussion](https://github.com/kulshekhar/ts-jest/discussions)\n\n[<img src=\"./website/static/img/troubleshooting.png\" align=\"left\" height=\"24\"> Before reporting any issues, be sure to check the troubleshooting page](TROUBLESHOOTING.md)\n\n[<img src=\"./website/static/img/pull-request.png\" align=\"left\" height=\"24\"> We're looking for collaborators! Want to help improve `ts-jest`?](https://github.com/kulshekhar/ts-jest/issues/223)\n\n---\n\n## Getting Started\n\nThese instructions will get you setup to use `ts-jest` in your project. For more detailed documentation, please check [online documentation](https://kulshekhar.github.io/ts-jest).\n\n|                                      | using npm                      | using yarn                           |\n| -----------------------------------: | ------------------------------ | ------------------------------------ |\n| **Prerequisites (TypeScript 4.3–6)** | `npm i -D jest typescript`     | `yarn add --dev jest typescript`     |\n|                       **Installing** | `npm i -D ts-jest @types/jest` | `yarn add --dev ts-jest @types/jest` |\n|                  **Creating config** | `npx ts-jest config:init`      | `yarn ts-jest config:init`           |\n|                    **Running tests** | `npm test` or `npx jest`       | `yarn test` or `yarn jest`           |\n\nIf your project uses TypeScript 7, follow the [supported side-by-side compiler setup](website/docs/guides/typescript-7.md)\ninstead of installing `typescript` directly.\n\n## Built With\n\n- [TypeScript](https://www.typescriptlang.org/) - JavaScript that scales\n- [Jest](https://jestjs.io/) - Delightful JavaScript Testing\n- [`ts-jest`](https://kulshekhar.github.io/ts-jest) - Jest [transformer](https://jestjs.io/docs/next/code-transformation#writing-custom-transformers) for TypeScript _(yes, `ts-jest` uses itself for its tests)_\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Versioning\n\nWe **DO NOT** use [SemVer](https://semver.org/) for versioning. Though you can think about SemVer when reading our version, except our major number follows the one of Jest. For the versions available, see the [tags on this repository](https://github.com/kulshekhar/ts-jest/tags).\n\n## Authors/maintainers\n\n- **Kulshekhar Kabra** - [kulshekhar](https://github.com/kulshekhar)\n- **Gustav Wengel** - [GeeWee](https://github.com/GeeWee)\n- **Ahn** - [ahnpnl](https://github.com/ahnpnl)\n- **Huafu Gandon** - [huafu](https://github.com/huafu)\n\nSee also the list of [contributors](https://github.com/kulshekhar/ts-jest/contributors) who participated in this project.\n\n## Supporters\n\n- [JetBrains](https://www.jetbrains.com/?from=ts-jest) has been kind enough to support ts-jest with a [license for open source] (https://www.jetbrains.com/community/opensource/?from=ts-jest).\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n","publish_time":1747419407496,"_cnpm_publish_time":1747419407496,"dist-tags":{"latest":"29.4.15","next":"29.0.0-next.1"}}