{"name":"ts-jest","version":"29.2.6","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.2.6","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":"df53edf8b72fb89de032cfa310abf37582851d9a","tarball":"http://registry-npm.ywwl.com/ts-jest/download/ts-jest-29.2.6.tgz","fileCount":93,"integrity":"sha512-yTNZVZqc8lSixm+QGVFcPe6+yj7+TWZwIesuOWvfcn4B9bz5x4NDzVCQQjOs7Hfouu36aEqfEbo9Qpo+gq8dDg==","signatures":[{"sig":"MEQCIENFuuhyZUumCG12ZuZCJYCudYkRjLWV8egw2ZCfdFW3AiB7qbs3ZJuXKu4y4Mlv+LspbkOght0SfVyiU02KAMr1qg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":326458,"size":73332,"noattachment":false,"key":"/ts-jest/-/ts-jest-29.2.6.tgz"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged","post-commit":"git reset"}},"types":"dist/index.d.ts","engines":{"node":"^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0"},"gitHead":"6a387675bf6b375dc02e700ae42a1f8584b111d7","scripts":{"doc":"cd website && npm run start","lint":"eslint --ext .js,.ts .","test":"jest -c=jest-src.config.ts","build":"tsc -p tsconfig.build.json","prepare":"npm run build","version":"npm run changelog && git add CHANGELOG.md","lint-fix":"eslint --fix --ext .js,.ts .","prebuild":"rimraf 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","update-e2e":"node scripts/update-e2e.js","raw:options":"node scripts/generate-raw-compiler-options.js","test-e2e-cjs":"jest -c=jest-e2e.config.cjs --no-cache","test-e2e-esm":"node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js -c=jest-e2e.config.mjs --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":{},"lint-staged":{"*.{ts,tsx,js,jsx}":["eslint --fix","git add"]},"_nodeVersion":"20.18.2","dependencies":{"ejs":"^3.1.10","json5":"^2.2.3","semver":"^7.7.1","bs-logger":"^0.2.6","jest-util":"^29.0.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":"~4.3.8","eslint":"^8.57.1","esbuild":"~0.25.0","js-yaml":"^4.1.0","fs-extra":"^11.3.0","prettier":"^2.8.8","@types/ejs":"^3.1.5","babel-jest":"^29.7.0","typescript":"~5.5.4","@jest/types":"^29.6.3","@types/jest":"^29.5.14","@types/node":"20.17.19","lint-staged":"^15.4.3","@types/yargs":"^17.0.33","@jest/globals":"^29.7.0","@types/semver":"^7.5.8","@types/js-yaml":"^4.0.9","glob-gitignore":"^1.0.15","@commitlint/cli":"~18.6.1","@jest/transform":"^29.7.0","@types/fs-extra":"^11.0.4","@types/lodash.set":"^4.3.9","@types/micromatch":"^4.0.9","@types/babel__core":"^7.20.5","eslint-plugin-jest":"^28.11.0","@types/yargs-parser":"21.0.3","eslint-plugin-jsdoc":"^48.11.0","eslint-plugin-import":"^2.31.0","@types/lodash.memoize":"^4.1.9","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^4.2.1","@types/lodash.camelcase":"^4.3.9","@typescript-eslint/parser":"^7.18.0","json-schema-to-typescript":"^13.1.2","@commitlint/config-angular":"~18.6.1","conventional-changelog-cli":"^5.0.0","eslint-plugin-prefer-arrow":"^1.2.3","@typescript-eslint/eslint-plugin":"^7.18.0"},"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.2.6_1740294153800_0.5333831684877739","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":1740294154043,"_cnpm_publish_time":1740294154043,"dist-tags":{"latest":"29.4.15","next":"29.0.0-next.1"}}