{"_id":"jest-css-modules","_rev":"12-dab813ee1cc28dd7ecc1edac375bb60f","name":"jest-css-modules","description":"A Jest processor that prevents CSS module parse errors","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.0":{"name":"jest-css-modules","version":"1.0.0","description":"A Jest processor that prevents CSS module parse errors","repository":{"type":"git","url":"git+ssh://git@github.com/substack/node-browserify.git"},"main":"index.js","license":"ISC","keywords":["jest","css modules","react"],"author":{"name":"Justin Sisley","email":"justin@vera.com","url":"http://justinsisley.com"},"dependencies":{"babel-jest":"^5.3.0"},"gitHead":"186d5b7d10c0cf1748417e30a602781ca0622e08","bugs":{"url":"https://github.com/substack/node-browserify/issues"},"homepage":"https://github.com/substack/node-browserify#readme","_id":"jest-css-modules@1.0.0","scripts":{},"_shasum":"6b6a5fa8d811f7599fec302ed9a25978c2932cf5","_from":".","_npmVersion":"2.14.6","_nodeVersion":"4.1.2","_npmUser":{"name":"justinsisley","email":"sisley.justin@gmail.com"},"dist":{"shasum":"6b6a5fa8d811f7599fec302ed9a25978c2932cf5","tarball":"https://registry.npmjs.org/jest-css-modules/-/jest-css-modules-1.0.0.tgz","integrity":"sha512-FnADNtAo1f/SbuexZbOM1dB+6FoOT5lu59frL6UAp/giq9rOneu4jwPYMOKKTxFy5oUQOh1n+I54WETOpye4nA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3YcRC0cv7GvS7zoCc+wa0zcoldSp6b/2YvqX50BQpJAIhAMpYnT1BHuea983D1Ad1624KlCy8ZFPPWwsdsOgjbGWU"}]},"maintainers":[{"name":"justinsisley","email":"sisley.justin@gmail.com"}],"directories":{}},"1.0.1":{"name":"jest-css-modules","version":"1.0.1","description":"A Jest processor that prevents CSS module parse errors","repository":{"type":"git","url":"git+ssh://git@github.com/substack/node-browserify.git"},"main":"index.js","license":"ISC","keywords":["jest","css modules","react"],"author":{"name":"Justin Sisley","email":"justin@vera.com","url":"http://justinsisley.com"},"dependencies":{"babel-jest":"^9.0.0"},"gitHead":"7fcb9ea73adb67133ae8eded86a5efd1bdd0edbe","bugs":{"url":"https://github.com/substack/node-browserify/issues"},"homepage":"https://github.com/substack/node-browserify#readme","_id":"jest-css-modules@1.0.1","scripts":{},"_shasum":"587088fb4031ee10645b595ac5d267711177698c","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"justinsisley","email":"sisley.justin@gmail.com"},"dist":{"shasum":"587088fb4031ee10645b595ac5d267711177698c","tarball":"https://registry.npmjs.org/jest-css-modules/-/jest-css-modules-1.0.1.tgz","integrity":"sha512-qaa/JUBOQqzGHqU+Ts+zq1j1FLeDOLkG58x0IapY1ZAhDw0RdRMijvDbGyEMe9ZK421mWLd9PirMlRaTr+Sk7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFImYdWk9UYq4ufGnhrzeei314gWP0AB4Cl6DgA/qWW9AiEAw9w7rm8xdlxew18Jc3V0iDEhMXSIsdistHDwjHxoqCU="}]},"maintainers":[{"name":"justinsisley","email":"sisley.justin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jest-css-modules-1.0.1.tgz_1461180263229_0.6710179373621941"},"directories":{}},"1.0.2":{"name":"jest-css-modules","version":"1.0.2","description":"A Jest processor that prevents CSS module parse errors","repository":{"type":"git","url":"git+ssh://git@github.com/substack/node-browserify.git"},"main":"index.js","license":"ISC","keywords":["jest","css modules","react"],"author":{"name":"Justin Sisley","email":"justin@vera.com","url":"http://justinsisley.com"},"dependencies":{"babel-jest":"^9.0.0"},"gitHead":"9dacdcad7c18afffd91a77c111e43bdb018b6bbc","bugs":{"url":"https://github.com/substack/node-browserify/issues"},"homepage":"https://github.com/substack/node-browserify#readme","_id":"jest-css-modules@1.0.2","scripts":{},"_shasum":"f90c5cb9e909135346297255236a6baa7dbb9062","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"justinsisley","email":"sisley.justin@gmail.com"},"dist":{"shasum":"f90c5cb9e909135346297255236a6baa7dbb9062","tarball":"https://registry.npmjs.org/jest-css-modules/-/jest-css-modules-1.0.2.tgz","integrity":"sha512-t4T0WbKEsIbeeFmd/QHvjrRDGI5PXvpnlaqg5G9K6HcsWtTuEdFne8jCFQlONd24RSUHbNpTlUOLG5b8EJCgcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9ExhjrqbP4oHWSQcaP3/TTcZLS/skKkmLGB0CcbGngwIhALHJUiKkGXR4RbhGL/7hX92sp0307tQtnX7f/bQzx+7k"}]},"maintainers":[{"name":"justinsisley","email":"sisley.justin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jest-css-modules-1.0.2.tgz_1461806596458_0.5580641452688724"},"directories":{}},"1.1.0":{"name":"jest-css-modules","version":"1.1.0","description":"A Jest processor that prevents CSS module parse errors","repository":{"type":"git","url":"git+https://github.com/justinsisley/Jest-CSS-Modules.git"},"main":"index.js","license":"ISC","keywords":["jest","css modules","react"],"author":{"name":"Justin Sisley","email":"justin@vera.com","url":"http://justinsisley.com"},"dependencies":{"babel-jest":"^16.0.0"},"gitHead":"f58b7dfabb4194b29e4b96d3dee89cc58217ca3a","bugs":{"url":"https://github.com/justinsisley/Jest-CSS-Modules/issues"},"homepage":"https://github.com/justinsisley/Jest-CSS-Modules#readme","_id":"jest-css-modules@1.1.0","scripts":{},"_shasum":"19332cf767618e6052f0900de25e6b8859e65b95","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"justinsisley","email":"sisley.justin@gmail.com"},"dist":{"shasum":"19332cf767618e6052f0900de25e6b8859e65b95","tarball":"https://registry.npmjs.org/jest-css-modules/-/jest-css-modules-1.1.0.tgz","integrity":"sha512-a4ROCE73Yym9z3LSbr8ktafXVMrBxD+GaZV+RZZgcNJ81lPi/sUDKIEsZ0dgae9Vt7Ne376wJumSVoweDBRaig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDjvvulWf7Pea1evMAfTQZZbdRPXMC5VpDuCyMUBEj3QIhAIfzy6UuF6rQ9Dv33pz+iaF0QOMgcrJ72az5LFRO9gSZ"}]},"maintainers":[{"name":"justinsisley","email":"sisley.justin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jest-css-modules-1.1.0.tgz_1475876335725_0.8033507217187434"},"directories":{}},"2.0.0":{"name":"jest-css-modules","version":"2.0.0","description":"A Jest processor that prevents CSS module parse errors","repository":{"type":"git","url":"git+https://github.com/justinsisley/Jest-CSS-Modules.git"},"author":{"name":"Justin Sisley","url":"http://justinsisley.com"},"license":"ISC","keywords":["jest","css modules","react"],"main":"index.js","scripts":{"test":"jest"},"dependencies":{"identity-obj-proxy":"3.0.0"},"devDependencies":{"@babel/preset-env":"^7.4.2","jest":"^24.5.0"},"babel":{"presets":["@babel/preset-env"]},"jest":{"moduleNameMapper":{"\\.(css|less|scss|sss|styl)$":"<rootDir>/index.js"}},"gitHead":"cdd730851dc04da0c0934317f2c03372ced6f116","bugs":{"url":"https://github.com/justinsisley/Jest-CSS-Modules/issues"},"homepage":"https://github.com/justinsisley/Jest-CSS-Modules#readme","_id":"jest-css-modules@2.0.0","_nodeVersion":"8.12.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-/QRMT6rJEqOnqpQao3+DZbsCi4DRi6hNp3uSZB7OiFD/+h0qdkoRwNk15sPj9DVXqehuDEprLcNS8i6eTAOj2w==","shasum":"d96b91026e292e1b5c6e7def9860de7fc734975d","tarball":"https://registry.npmjs.org/jest-css-modules/-/jest-css-modules-2.0.0.tgz","fileCount":10,"unpackedSize":2970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcoUi2CRA9TVsSAnZWagAAg14QAJZOcdvZarn4ED3JzuDJ\n5wA6WGhJIRQrvvlFn02hkEHeougOCBh9fz8OTB1hKiEPFo9HXS82nMru2NUq\n4V2OM2B04pDN3uqyoayZkK/P7UZMUfTf7DqaGtUYa99CxSj2c0m4L21aoyZW\neXlgdd7xCDodBaRlRALu/h9NjrsbJCRnT50ZBS2WRcYrPwRstHwHmJsP6KIB\nflu1ufQczXGYIC3ONi2wZ02vhkmWamtrUr9s1+YBZIbvx9/t7ORuckUkeonz\nWe/ulpI0ku70fTNpTWYTsi2G+H/glHhK0S+S7OXp63WPk/0yphCWM3ASnAst\nEZghzthd8THeF5rs8JOVcc1PXQcrEjJkriqQH0gFPwVdiMNbTu7aKxxIbnIL\nVlW8MpVjwVyafLi63OgD1AkqEWJE66PKEug4LiJlcI0ISOy+2B9MUF/6knOy\nb7CBRiy0RygF+a93y5nSBEg4jrHup6wjXEHOOv4v+G9fukrdMNPS1jXCerWM\ny7FOZi8d93lbR/uKh9jCXrOCEpvtrlMMHB+ji6WlrtwyHJ9L3RJggIEoAoWZ\nELVHPC30UCvxj3JGcE9yePYI7+qcnUJ2MNY00ONEcWaKKg4m98zYpvWh7Asp\nazqk8C6EKOyliTLDlJWjN+36Ce+TNHBao/DHo3O9UsbvzIenOyjYfUToVzNP\nsLCr\r\n=BdlS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRhvTnJG5INX9xkdSCWsR28WYmmb1j8SthyXRf60HSLQIgfWxbh2Fi5Sf9t+VIbsrR1En0ZQrXAO19ODYbIxwjlKI="}]},"maintainers":[{"name":"justinsisley","email":"sisley.justin@gmail.com"}],"_npmUser":{"name":"justinsisley","email":"sisley.justin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-css-modules_2.0.0_1554073781612_0.2793653235004212"},"_hasShrinkwrap":false},"2.1.0":{"name":"jest-css-modules","version":"2.1.0","description":"A Jest processor that prevents CSS module parse errors","repository":{"type":"git","url":"git+https://github.com/justinsisley/Jest-CSS-Modules.git"},"author":{"name":"Justin Sisley","url":"http://justinsisley.com"},"license":"ISC","keywords":["jest","css modules","react"],"main":"index.js","scripts":{"test":"jest"},"dependencies":{"identity-obj-proxy":"3.0.0"},"devDependencies":{"@babel/preset-env":"^7.4.5","jest":"^24.8.0"},"babel":{"presets":["@babel/preset-env"]},"jest":{"moduleNameMapper":{"\\.(css|less|scss|sss|styl)$":"<rootDir>/index.js"}},"gitHead":"074a93b2c247f7f4282120f4c8ea5ff7868ef8a7","bugs":{"url":"https://github.com/justinsisley/Jest-CSS-Modules/issues"},"homepage":"https://github.com/justinsisley/Jest-CSS-Modules#readme","_id":"jest-css-modules@2.1.0","_nodeVersion":"8.12.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-my3Scnt6l2tOll/eGwNZeh1KLAFkNzdl4MyZRdpl46GO6/93JcKKdTjNqK6Nokg8A8rT84MFLOpY1pzqKBEqMw==","shasum":"9c25ebe9d0214d8f55861a442268fdd4b01b4781","tarball":"https://registry.npmjs.org/jest-css-modules/-/jest-css-modules-2.1.0.tgz","fileCount":11,"unpackedSize":3194,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+WSaCRA9TVsSAnZWagAA8+cQAIHCDQd7jM/VYSmHNT7b\nrQSMZSzy3lvpLVoYtdPASC1n548RYVk9ccGlnlIbGGlVBPtWdPgzhn7xIZ1l\nEihCGcoKgG8PrrKuoXoTNCry/zMuCY0q3i4WcfXGYAhKARaeTEg63WOyyU81\nAnUKyzSk+G4Ds/DWZGbQn7r7oqubKF+0tYef0ISmrwjuW6od11rW+cmybnFP\nbRX3pUAB9j6F+v4pLwegK+xiGtPIjCBZyJPMfJZfKMulziidAKKdT+r+ARUz\nd0xJI1NKUyIzDca6/V5rOJIMQze6y1m0WMAAXaqkTIpkatWhcACM7NbA7YaU\nM1gJAxmqDTGE3Z5LcuXF22JHVGH4h2k0iKtexCVcqSJYnHrIKuGhqj/DNIP/\nDEZjodZtpNXQGugM+Jsl+PJy5YUtKiMbHpHNETQWYFh7S1szxQ3mdmRVkkEC\nkMEHHRy6M4mzIORW+dsm1dagOiyVYZoc8hRqpB6tiiRdG0HmKmYmTc7nS7V9\nNC5wkyGqBkemJQnL6h3RDL6Np1zmCgPUu2nR2zlUuenwNiM/nWBGq6c03s+Z\n1XHsGIcsQPjHo6UYM7SY6Zq8DfXP8p0h2wD5lAoNrT/oP//rKDw/TO1m8bR/\nFNnmiQt+NmETjZR90FR8QyfpLHnOnNFiiFOjsJ2cn47ZfpqJ/eUcVbw+LjWj\nljCM\r\n=i6Fu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHXFXuGIfP70/VU09Y32qU6m/KW7WoVfLMhOSPVW97qiAiEAlBLZf4REjuvmZTmD5DboitQPx2ERJoMJYUqfYXc9k7k="}]},"maintainers":[{"name":"justinsisley","email":"sisley.justin@gmail.com"}],"_npmUser":{"name":"justinsisley","email":"sisley.justin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-css-modules_2.1.0_1559848089192_0.1490153111151169"},"_hasShrinkwrap":false}},"readme":"> Note: As of v2.0.0, this library is simply implementing [identity-obj-proxy](https://github.com/keyz/identity-obj-proxy).\n> The [Jest documentation](https://jestjs.io/docs/en/webpack.html#mocking-css-modules) provides more details on using identity-obj-proxy to solve this problem directly, and I recommend that you use that library instead of this one.\n\n# Jest CSS Modules\nA [Jest](https://facebook.github.io/jest/) [script processor](https://facebook.github.io/jest/docs/en/configuration.html#transform-object-string-string) that prevents [CSS module](https://github.com/css-modules/css-modules) parse errors.\n\n## Installation\n\n```shell\nnpm install -D jest-css-modules\n```\n\nUpdate your package.json file's `jest` configuration:\n\n```json\n{\n  \"jest\": {\n    \"moduleNameMapper\": {\n      \"\\\\.(css|less|scss|sss|styl)$\": \"<rootDir>/node_modules/jest-css-modules\"\n    }\n  }\n}\n```\n\nNow, imports such as `import styles from './MyModule.css';` will pass through Jest without causing any pain.\n\nSupports `.css`, `.less`, `.scss`, `.sss`, and `.styl` extensions.\n\n> Note: If you continue to experience CSS module parsing errors after installing and configuring this library, try running jest with the `--no-cache` flag. Read the [Jest documentation on caching](https://jestjs.io/docs/en/cli#cache) for more details.\n","maintainers":[{"name":"justinsisley","email":"sisley.justin@gmail.com"}],"time":{"modified":"2022-06-19T04:11:03.306Z","created":"2015-10-10T02:19:20.024Z","1.0.0":"2015-10-10T02:19:20.024Z","1.0.1":"2016-04-20T19:24:24.248Z","1.0.2":"2016-04-28T01:23:17.514Z","1.1.0":"2016-10-07T21:39:00.018Z","2.0.0":"2019-03-31T23:09:41.777Z","2.1.0":"2019-06-06T19:08:09.337Z"},"homepage":"https://github.com/justinsisley/Jest-CSS-Modules#readme","keywords":["jest","css modules","react"],"repository":{"type":"git","url":"git+https://github.com/justinsisley/Jest-CSS-Modules.git"},"author":{"name":"Justin Sisley","url":"http://justinsisley.com"},"bugs":{"url":"https://github.com/justinsisley/Jest-CSS-Modules/issues"},"license":"ISC","readmeFilename":"README.md","users":{"saravieira":true}}