{"_id":"@binhpv/cypress-image-snapshot","_rev":"4-992626f8429121a3be45b9241bf91237","time":{"created":"2022-02-17T16:30:17.277Z","2.0.0":"2022-02-17T15:42:39.348Z","modified":"2022-04-04T18:53:24.263Z","2.0.1":"2022-02-17T16:30:17.598Z"},"name":"@binhpv/cypress-image-snapshot","dist-tags":{"latest":"2.0.1"},"versions":{"2.0.1":{"name":"@binhpv/cypress-image-snapshot","version":"2.0.1","description":"Cypress bindings for jest-image-snapshot.","repository":{"type":"git","url":"git+https://github.com/binhpv/cypress-image-snapshot.git"},"author":{"name":"Binh Phan","email":"binhpv@live.com"},"license":"MIT","main":"./lib/index.js","engines":{"node":">=14.18.0","yarn":"^1.22.5"},"scripts":{"prebuild":"rimraf ./lib","build":"tsc","test":"jest --no-cache","lint":"eslint --max-warnings 0 .","prepublish":"yarn run build"},"dependencies":{"chalk":"^4.1.2","fs-extra":"^9.1.0","glob":"^7.2.0","pkg-dir":"^5.0.0","term-img":"^6.0.0"},"devDependencies":{"@changesets/changelog-github":"^0.4.1","@changesets/cli":"^2.18.0","@types/fs-extra":"^9.0.13","@types/jest-image-snapshot":"^4.3.1","@types/node":"^14.14.31","@typescript-eslint/eslint-plugin":"^5.4.0","@typescript-eslint/parser":"^5.4.0","cypress":"^8.7.0","eslint":"^8.2.0","eslint-config-prettier":"^8.3.0","eslint-plugin-cypress":"^2.12.1","eslint-plugin-import":"^2.25.3","eslint-plugin-node":"^11.1.0","husky":"^7.0.4","jest":"^27.3.1","jest-image-snapshot":"^4.5.1","lint-staged":"^12.0.2","prettier":"^2.4.1","rimraf":"^3.0.2","typescript":"^4.4.4"},"peerDependencies":{"@types/jest-image-snapshot":"^4.3.1","cypress":"^8.7.0","jest-image-snapshot":"^4.5.1"},"peerDependenciesMeta":{"@types/jest-image-snapshot":{"optional":true}},"lint-staged":{"**/*.{ts,tsx}":["eslint --max-warnings 0"],"**/*":["prettier --write --ignore-unknown"]},"eslintConfig":{"extends":["airbnb-base","prettier"],"plugins":["cypress"],"env":{"cypress/globals":true}},"jest":{"testPathIgnorePatterns":["<rootDir>/examples/","<rootDir>/node_modules/"]},"gitHead":"fff61a65b3c0420b4b0ac9a55a2cca829ca1fa32","bugs":{"url":"https://github.com/binhpv/cypress-image-snapshot/issues"},"homepage":"https://github.com/binhpv/cypress-image-snapshot#readme","_id":"@binhpv/cypress-image-snapshot@2.0.1","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-ev6v1ZXDwYnIhJOTBieSH+Ej7N6juCX0wx0irDuZynRu6gRwVPWbCWDFLUIfNKWilLZu6T+lf9QUBza9+8vIAg==","shasum":"64d8a7c2b2ae21e4ba58b454723057edf5cdeb50","tarball":"https://registry.npmjs.org/@binhpv/cypress-image-snapshot/-/cypress-image-snapshot-2.0.1.tgz","fileCount":70,"unpackedSize":530028,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDngZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmouxhAAmpAxQC65oY5MmHKqnLk5zDM3Ttrzuty7M4jY6qhd7fLJvTFd\r\nM9dYlnc3TXTWQ3Xs40DvkUIzUwfRWufM7PyhH4fmDuEywSVvshLQwK17DhHT\r\nSOyOD8sE5K4zV1EgiL52ZlXFvM7fh50id/ffcE1iD3C5kBXpjNiu9dswIyT1\r\n83rwV1iDhYnl25Z/JYGdEgXI6TovPhSY0dglQ0o5Dvjfs6XldwNgDNsr9j/v\r\nGTmSt+b+bnd9GgoHVzO/rW8b4j99+KSE8D5HRGzrnBCKX/UNNSdbUvc8JnO9\r\n2V70yjOXwDZ9MWrRjKLM8A7RuoQpInVzLWSB2qlxMQ3ViW0ZDfe1ZYuPyMQo\r\nQ0nXTG8jgqi6UnKIZVpSeYYzycFhvIbpQEErugYXMF2r0z5jLNc2OvSG7kr1\r\ngNjviQgdoa1gq/phuNNukh0JIs2LOL5vn3/3azqGWfnRd8bsrwxp/AlCoVxx\r\n8aCjpQfy+bTH8LL+pJNUmZ7UYU84dEFDakh+sD9AkWc7/QV9Z+rbORmHoMO4\r\nMeLHSNQ6Vw+5fXD65G61VNCSvNRafUrtrNq9eTjwZXV3gCao+XV8ZObE2ZHc\r\n0E6vhpnS0uflTQY5dXsj6U1ZX3XuajydD7AJ7UQ7ETLVTWKUkiKIJeGRKobE\r\nvb0h1Zu4GoCViLJIxwqriNwyQ0m+2fgpFBY=\r\n=EIbL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB9UtnyQ5MFwWyu2tJqKSP5fQ5JGy5xyyf5epNJIAVq3AiEA0iACxUFGbHosR0hU9S3XjY7vog63o2qcWPvwW+SGW3I="}]},"_npmUser":{"name":"binhpv","email":"binhpv@live.com"},"directories":{},"maintainers":[{"name":"binhpv","email":"binhpv@live.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-image-snapshot_2.0.1_1645115417358_0.6976722311874897"},"_hasShrinkwrap":false}},"maintainers":[{"name":"binhpv","email":"binhpv@live.com"}],"description":"Cypress bindings for jest-image-snapshot.","homepage":"https://github.com/binhpv/cypress-image-snapshot#readme","repository":{"type":"git","url":"git+https://github.com/binhpv/cypress-image-snapshot.git"},"author":{"name":"Binh Phan","email":"binhpv@live.com"},"bugs":{"url":"https://github.com/binhpv/cypress-image-snapshot/issues"},"license":"MIT","readme":"# @binhpv/cypress-image-snapshot\n\nThis is a fork of [pkerschbaum/cypress-image-snapshot](https://github.com/pkerschbaum/cypress-image-snapshot) with following changes applied:\n\n- Revert the relative snapshot folder since it's too hard to many many files.\n\n## Installation\n\nUsing npm:\n\n```bash\nnpm install --save-dev @binhpv/cypress-image-snapshot jest-image-snapshot\n```\n\nUsing yarn:\n\n```bash\nyarn add --dev @binhpv/cypress-image-snapshot jest-image-snapshot\n```\n\nthen add the following in your project's `<rootDir>/cypress/plugins/index.js`:\n\n```js\nimport { addMatchImageSnapshotPlugin } from '@binhpv/cypress-image-snapshot/lib/plugin';\n\nmodule.exports = (on, config) => {\n  addMatchImageSnapshotPlugin(on, config);\n};\n```\n\nand in `<rootDir>/cypress/support/commands.js` add:\n\n```js\nimport { addMatchImageSnapshotCommand } from '@binhpv/cypress-image-snapshot/lib/command';\n\naddMatchImageSnapshotCommand();\n```\n\n## Syntax, Usage, ...\n\nSee [jaredpalmer/cypress-image-snapshot](https://github.com/jaredpalmer/cypress-image-snapshot).\n","readmeFilename":"README.md"}