{"_id":"@batoanng/jest-config","_rev":"7-a0e46d24b0c37cb3f130a515ac0f943d","name":"@batoanng/jest-config","dist-tags":{"latest":"1.4.2"},"versions":{"1.1.0":{"name":"@batoanng/jest-config","version":"1.1.0","license":"MIT","_id":"@batoanng/jest-config@1.1.0","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"1d36f14622d41c09d621c05e6ed433e8048ce494","tarball":"https://registry.npmjs.org/@batoanng/jest-config/-/jest-config-1.1.0.tgz","fileCount":8,"integrity":"sha512-EXAp+IPhnYH9Dbpfc2QAGs9m/0+ChC37G0phmme4urcFKAtK2WxiUWoPFYvxZ6RLGXdickm/06/qNsoqY0+KXQ==","signatures":[{"sig":"MEYCIQDeRRoDZHF1Tx9Mg7UcErIBVK4cClUppZp7W00t78zlFwIhAJ2r6v4uuFTKw6jUzgl7x0q2hgXBQLEQjLq3Ti+7yMoC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1611},"gitHead":"90323c157d8809938f25ff4eadb1c6b32aa02ca4","_npmUser":{"name":"batoanng","actor":{"name":"batoanng","type":"user","email":"michael.batoan.nguyen@gmail.com"},"email":"michael.batoan.nguyen@gmail.com"},"_npmVersion":"10.8.3","directories":{},"_nodeVersion":"20.12.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jest-config_1.1.0_1751102144298_0.03901040515332577","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@batoanng/jest-config","version":"1.1.1","license":"MIT","_id":"@batoanng/jest-config@1.1.1","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"7f5c720fbc0fe1f8f8055f199b7f365356e32d48","tarball":"https://registry.npmjs.org/@batoanng/jest-config/-/jest-config-1.1.1.tgz","fileCount":8,"integrity":"sha512-6Z5ZaIhi8CxQam7By7JersMD3wZyhbE3YxNxtqC4TTJTI3DchT7CjERtbpqAA9y3zXfljKO0PCmf/lMJ5evAjw==","signatures":[{"sig":"MEYCIQDGUjf6ovSasXbi1Zykv0GSEnRbtxznwCFJkA4r0FVrxgIhAKoh1trLWYNSzXVHIlZ6hj95GiOemsnSlz0uU3CV1lBb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1653},"_from":"file:batoanng-jest-config-1.1.1.tgz","_npmUser":{"name":"batoanng","actor":{"name":"batoanng","type":"user","email":"michael.batoan.nguyen@gmail.com"},"email":"michael.batoan.nguyen@gmail.com"},"_resolved":"/private/var/folders/nt/pm0npgws5cb599xlj4yk9jwm0000gn/T/db9e112bd19326de949cb70fb5fc07a5/batoanng-jest-config-1.1.1.tgz","_integrity":"sha512-6Z5ZaIhi8CxQam7By7JersMD3wZyhbE3YxNxtqC4TTJTI3DchT7CjERtbpqAA9y3zXfljKO0PCmf/lMJ5evAjw==","_npmVersion":"10.8.3","directories":{},"_nodeVersion":"20.12.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jest-config_1.1.1_1751102461291_0.9804508664973288","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@batoanng/jest-config","version":"1.1.2","license":"MIT","_id":"@batoanng/jest-config@1.1.2","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"be5c462c3805be6aac57933760f8da413d130ee3","tarball":"https://registry.npmjs.org/@batoanng/jest-config/-/jest-config-1.1.2.tgz","fileCount":10,"integrity":"sha512-chNMSyxQ5vw73jw8GCEVC1x4Cv1GqlddTlqvVyaxA8Sbazlye3AZRIFHRbfzIBFAlm7YsgTAqH6IYTFmNt+tHw==","signatures":[{"sig":"MEQCIB6qQGnzAP2yvmdNQ/bFmeij7LivsKhmTbkMaSao3MkrAiBDTeaQNZmq9w9F2Pibr3AO4TL6iIoQHXwOy8m88zQQQA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3949},"_from":"file:batoanng-jest-config-1.1.2.tgz","_npmUser":{"name":"batoanng","actor":{"name":"batoanng","type":"user","email":"michael.batoan.nguyen@gmail.com"},"email":"michael.batoan.nguyen@gmail.com"},"_resolved":"/private/var/folders/nt/pm0npgws5cb599xlj4yk9jwm0000gn/T/70c9701e1a79145d52823885df37a61b/batoanng-jest-config-1.1.2.tgz","_integrity":"sha512-chNMSyxQ5vw73jw8GCEVC1x4Cv1GqlddTlqvVyaxA8Sbazlye3AZRIFHRbfzIBFAlm7YsgTAqH6IYTFmNt+tHw==","_npmVersion":"10.8.3","description":"[![npm version](https://img.shields.io/npm/v/@batoanng/jest-config)](https://www.npmjs.com/package/@batoanng/jest-config) [![install size](https://packagephobia.com/badge?p=@batoanng/jest-config)](https://packagephobia.com/result?p=@batoanng/jest-config)","directories":{},"_nodeVersion":"20.12.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jest-config_1.1.2_1751982569534_0.85332517495546","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@batoanng/jest-config","version":"1.2.0","license":"MIT","_id":"@batoanng/jest-config@1.2.0","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"a0fcb11b35fa750942d47ed5ee28769125553047","tarball":"https://registry.npmjs.org/@batoanng/jest-config/-/jest-config-1.2.0.tgz","fileCount":10,"integrity":"sha512-Q3v7j7wfHORQ4Wy4cwhVShonKnRHlbsooP+UcdcHRLtH0AVIWsc5v4QMo7T6t2KbN/r+atlXFH40EfY5tC3MvA==","signatures":[{"sig":"MEUCIExK2Nb9EXWv4z7Q0LEAXgURD0zViFuRkvqBpbrx8I2cAiEA3WuE8EC+2C42VQLlNH+z9qe35rUzd21+5jUjr1Xc2hg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4042},"gitHead":"9cc4168601836dc582ff6bb55d43e4ceca6db672","_npmUser":{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"},"_npmVersion":"11.6.0","description":"[![npm version](https://img.shields.io/npm/v/@batoanng/jest-config)](https://www.npmjs.com/package/@batoanng/jest-config) [![install size](https://packagephobia.com/badge?p=@batoanng/jest-config)](https://packagephobia.com/result?p=@batoanng/jest-config)","directories":{},"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jest-config_1.2.0_1775217280242_0.367992271401814","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@batoanng/jest-config","version":"1.3.0","license":"MIT","_id":"@batoanng/jest-config@1.3.0","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"8e14c4f63c936bd4642441e0fa563da079d91981","tarball":"https://registry.npmjs.org/@batoanng/jest-config/-/jest-config-1.3.0.tgz","fileCount":10,"integrity":"sha512-qFh3w9+wAOaOEgeWv1vLH3n+yY3RGlpM38BAXiaIlkX/pZU63E+sf/kkK7xjDQS7eyLsy8S7ISRGhhVGhyDjYQ==","signatures":[{"sig":"MEQCIANe/bnc47ZCT1f+FNMBYBnNJemyJEs53QDv7x7lZfI0AiA9eZF0vSe9n2pKLlW95sgimCPuAKBZgiKfzQHw/i/rKg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4092},"gitHead":"a055d2e7570529644e541311f02f90581c49a25f","_npmUser":{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"},"_npmVersion":"11.6.0","description":"[![npm version](https://img.shields.io/npm/v/@batoanng/jest-config)](https://www.npmjs.com/package/@batoanng/jest-config) [![install size](https://packagephobia.com/badge?p=@batoanng/jest-config)](https://packagephobia.com/result?p=@batoanng/jest-config)","directories":{},"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jest-config_1.3.0_1775438511849_0.45778544152273914","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@batoanng/jest-config","version":"1.4.1","license":"MIT","_id":"@batoanng/jest-config@1.4.1","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"dist":{"shasum":"a97b1be08c16142b04f15a21392cd28b88bd8c7a","tarball":"https://registry.npmjs.org/@batoanng/jest-config/-/jest-config-1.4.1.tgz","fileCount":10,"integrity":"sha512-+U12FKGxI1PnV4aY78l2kCVU7HwLbgEpFUR7uyzzJi1GGlIcCYz0YmKEpppjNORD9Qc59ETebJXr96H9eHqcVQ==","signatures":[{"sig":"MEUCIGndTdraIgAugcoy0lzQuh5usMODDP8tDq9JHZdc84puAiEAtwNvZQKf4RM8+GRzbAdgkbEBQjV2PqeQM/ixcUNWiC0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4438},"gitHead":"20840dc0b1b07013f2457683335a5bf1f44c188d","_npmUser":{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"},"_npmVersion":"11.6.0","description":"[![npm version](https://img.shields.io/npm/v/@batoanng/jest-config)](https://www.npmjs.com/package/@batoanng/jest-config) [![install size](https://packagephobia.com/badge?p=@batoanng/jest-config)](https://packagephobia.com/result?p=@batoanng/jest-config)","directories":{},"_nodeVersion":"24.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jest-config_1.4.1_1775547355360_0.7211369470007936","host":"s3://npm-registry-packages-npm-production"}},"1.4.2":{"name":"@batoanng/jest-config","version":"1.4.2","license":"MIT","publishConfig":{"access":"public"},"_id":"@batoanng/jest-config@1.4.2","gitHead":"77f9470d74e77f51651588b25842e655993167b4","description":"[![npm version](https://img.shields.io/npm/v/@batoanng/jest-config)](https://www.npmjs.com/package/@batoanng/jest-config) [![install size](https://packagephobia.com/badge?p=@batoanng/jest-config)](https://packagephobia.com/result?p=@batoanng/jest-config)","_nodeVersion":"24.9.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-JN+RTVLAS7uIho1F5y9jOw4f9PDIoz2Iq2fO3Qf2zIQHlgjh7rk/293y2FXAaCMSLx1lJEMdmU+pZBTFcHFN7w==","shasum":"6984e0f6f33665a9414ac6519ea1eda5c3f4079d","tarball":"https://registry.npmjs.org/@batoanng/jest-config/-/jest-config-1.4.2.tgz","fileCount":10,"unpackedSize":4438,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIClMGKJFGKpaOU5zhX3ctzvnyUjWOy6qiAVkAFjv/bIgAiAhIeFA6ISA0emB4Lo8i7tSnQ295fhvPhTMAjbTrkeX6A=="}]},"_npmUser":{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"},"directories":{},"maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jest-config_1.4.2_1777628565547_0.3410889886174524"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-28T09:15:44.178Z","modified":"2026-05-01T09:42:45.819Z","1.1.0":"2025-06-28T09:15:44.470Z","1.1.1":"2025-06-28T09:21:01.466Z","1.1.2":"2025-07-08T13:49:29.702Z","1.2.0":"2026-04-03T11:54:40.384Z","1.3.0":"2026-04-06T01:21:51.986Z","1.4.1":"2026-04-07T07:35:55.547Z","1.4.2":"2026-05-01T09:42:45.694Z"},"license":"MIT","description":"[![npm version](https://img.shields.io/npm/v/@batoanng/jest-config)](https://www.npmjs.com/package/@batoanng/jest-config) [![install size](https://packagephobia.com/badge?p=@batoanng/jest-config)](https://packagephobia.com/result?p=@batoanng/jest-config)","maintainers":[{"name":"batoanng","email":"michael.batoan.nguyen@gmail.com"}],"readme":"# @batoanng/jest-config\n\n[![npm version](https://img.shields.io/npm/v/@batoanng/jest-config)](https://www.npmjs.com/package/@batoanng/jest-config)\n[![install size](https://packagephobia.com/badge?p=@batoanng/jest-config)](https://packagephobia.com/result?p=@batoanng/jest-config)\n\nA collection of pre-configured Jest setups for modern TypeScript projects across different frameworks like **Next.js**, **NestJS**, and **Node** with support for **esbuild**, **JSDOM**, and **custom test environments**.\n\n---\n\n## ✨ Features\n\n- Multiple Jest presets:\n  - `common`: base config for any TypeScript repo\n  - `next`: optimized for Next.js\n  - `nest`: tailored for NestJS\n  - `esbuild`: fast builds with esbuild support\n- Custom global setups via `jest.setup.js` and `esbuild-jest.setup.js`\n- JSDOM, environment, and transform preconfigured\n- Designed for monorepo or standalone repo usage\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install -D jest @batoanng/jest-config\n```\n\nYou may also need to install peer dependencies:\n\n```bash\nnpm install -D ts-jest jest-environment-jsdom @testing-library/react @types/jest\n```\n\nFor esbuild support:\n\n```bash\nnpm install -D esbuild jest-esbuild\n```\n","readmeFilename":"README.md"}