{"_id":"@aimee.gm/responsive","_rev":"20-ca2546f2ccf7dcf8e362317d947ca046","time":{"0.1.0":"2019-11-09T20:16:58.363Z","created":"2019-11-09T20:19:29.066Z","0.2.0":"2019-11-09T20:19:29.419Z","modified":"2022-04-04T12:19:12.032Z","0.3.0":"2019-11-09T22:45:14.704Z","0.3.1":"2019-11-09T23:08:01.305Z","0.4.0":"2020-04-05T12:36:19.711Z","0.5.0":"2020-04-07T11:51:20.652Z"},"name":"@aimee.gm/responsive","dist-tags":{"latest":"0.5.0"},"versions":{"0.2.0":{"name":"@aimee.gm/responsive","version":"0.2.0","description":"Auto generate multiple resized images for responsive use","main":"dist/index.js","repository":{"type":"git","url":"https://github.com/aimee-gm/responsive.git"},"author":{"name":"Aimee Gamble-Milner","url":"https://www.aimes.me.uk"},"license":"MIT","scripts":{"prepublishOnly":"yarn build","build":"yarn tsc","test":"nyc mocha"},"bin":{"resize-images":"./dist/bin/resizer.js","verify-resized-images":"./dist/bin/check.js"},"dependencies":{"cosmiconfig":"^6.0.0","escape-string-regexp":"^2.0.0","glob":"^7.1.6","glob-promise":"^3.4.0","jimp":"^0.8.5"},"devDependencies":{"@istanbuljs/nyc-config-typescript":"^0.1.3","@types/chai":"^4.2.4","@types/chai-as-promised":"^7.1.2","@types/mocha":"^5.2.7","@types/mock-fs":"^4.10.0","@types/sinon":"^7.5.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","husky":"^3.0.9","mocha":"^6.2.2","mock-fs":"^4.10.3","nyc":"^14.1.1","prettier":"1.19.0","pretty-quick":"^2.0.1","sinon":"^7.5.0","source-map-support":"^0.5.16","ts-node":"^8.4.1","typescript":"^3.7.2"},"licenseText":"MIT License\n\nCopyright (c) 2019 Aimee Gamble-Milner\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@aimee.gm/responsive@0.2.0","dist":{"shasum":"58e2a75e00763d68b8d40134d1db35d7d698b6ed","integrity":"sha512-1UPHkr3wgFUcvvhWxca/c1bfzgBu78ex1eMU9ZCljQSVGnmcSu7HrkfJhTmy1Ksx7pg4flPEIaYZIfCXfsVTgg==","tarball":"https://registry.npmjs.org/@aimee.gm/responsive/-/responsive-0.2.0.tgz","fileCount":31,"unpackedSize":13802,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxx9RCRA9TVsSAnZWagAAX+QP/RRKFbi0lBna6pTPxCKT\nQq3J3e/rgzbqRUR5CIOxG6LEF/rLF2zliQxxO6RYOfOZ7I98XIo/ZDAzkCR/\neMr9abzFO2T2gosBfguoM+8MpnLp3OQamsnOxMKAXi09GOQU9hl2WgfzN36S\npsPUvfvXgxNESYAgzy4TJI3gvVGproLDFHNE6HD5uXLuWTDFxakkMKikhe+o\nTV7BYgEpwOXIP0AZuLREBgaQdFCzc8ITnDrClykey99fz87x+Xw9q4PXk6iL\nYviTDr11+Im3VE1y4A6rt8f+xrM1RTYg4beuGjcvz6/Kt1OUAaWdfdVZLPuk\nHNODM3/yi0uagIH1qSgF2rBlipOupoww0Ot80cimSJW1nGnVAgpEuf42Z/mv\nTc9lDcMor/uG+vlabndoXmAfMSUASJZL38lkvEjgIZ0W2QaLDJy9Y0UU/R+A\nLA6V45q1eShhVSaAQDUASWq1TyZEKYrBIZDN3zY5Z5JvZa5N4/OLThUVdOyk\nKjSa8tum1BtH79d5q2JKQBcCFGSFOiA2H3/pBSYUKEO+DDh2wYEu/FfDXCfM\n/zRy906QMgn+YZF2XTG0SJoua1yVleXqUZKus/FymxlPGpYkqTt6pKbH3DyI\nA4Brstr7f0ZsT+YQQJWHAqzOE9Fq0JKm+BL2S1wToeXEgDV2uhpCoC/MdUgW\n+vlW\r\n=Z8LJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBDiNdP3bmHEkx4db8GmI0K5jeBg4V42bGbVZoDwuAkqAiBJljj7KgfQl4+ScVWFMp3mwXKxObrH7tVeLnRc6w4r0A=="}]},"maintainers":[{"name":"aimee.gm","email":"npm@aimes.me.uk"}],"_npmUser":{"name":"aimee.gm","email":"npm@aimes.me.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/responsive_0.2.0_1573330769291_0.8214775306699005"},"_hasShrinkwrap":false},"0.3.0":{"name":"@aimee.gm/responsive","version":"0.3.0","description":"Auto generate multiple resized images for responsive use","main":"dist/index.js","repository":{"type":"git","url":"https://github.com/aimee-gm/responsive.git"},"author":{"name":"Aimee Gamble-Milner","url":"https://www.aimes.me.uk"},"license":"MIT","scripts":{"prepublishOnly":"yarn build","build":"yarn tsc","test":"nyc mocha --opts src/test/mocha.opts"},"bin":{"resize-images":"./dist/bin/resizer.js","verify-resized-images":"./dist/bin/check.js"},"dependencies":{"cosmiconfig":"^6.0.0","glob":"^7.1.6","glob-promise":"^3.4.0","jimp":"^0.8.5"},"devDependencies":{"@istanbuljs/nyc-config-typescript":"^0.1.3","@types/chai":"^4.2.4","@types/chai-as-promised":"^7.1.2","@types/mocha":"^5.2.7","@types/mock-fs":"^4.10.0","@types/sinon":"^7.5.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","husky":"^3.0.9","mocha":"^6.2.2","mock-fs":"^4.10.3","nyc":"^14.1.1","prettier":"1.19.0","pretty-quick":"^2.0.1","sinon":"^7.5.0","source-map-support":"^0.5.16","ts-node":"^8.4.1","typescript":"^3.7.2"},"licenseText":"MIT License\n\nCopyright (c) 2019 Aimee Gamble-Milner\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@aimee.gm/responsive@0.3.0","dist":{"shasum":"5ab0964ce724916f8817469e403db070f468d74d","integrity":"sha512-bq6pFTLk4lOSj3WeVBhPrCkMWs3mKkSDZ/IyFbv+8BabjjeXujovs09Ild70qbhQHsTqVeD7Dr6XetKn246XpA==","tarball":"https://registry.npmjs.org/@aimee.gm/responsive/-/responsive-0.3.0.tgz","fileCount":45,"unpackedSize":18645,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdx0F7CRA9TVsSAnZWagAAVJUP/2VkPL9bNSIVM9MgszIw\nGjoAXhZ+cwe+zfbmEFHaYk0ANZTy/h8yfxGb3axGt1U2a8Q2WYK8TJThFWvH\nRHlMOZwJOHA4POdbJPvfUzCMikxtQQPFImOs2DYFaVk4HSANR5Gl0l3VKAi8\nr2u0aGciVHeFfMSgblxCG1wq7kntNh0l11XlHKUl0IMpPmMELldDFg4kbFRh\nWwnhB0J5nxjWg7nJscckIA5faMgILKHYauEGK+PyIw6HgZXxKUWlRiy5BcEU\nRzILkNggGtXGz0x7ezB4HKz/R7i/nsqWIO7G297tbOic7Rqlk0p5Yv4CjtOO\nwqVnX6gmrENDJAdwkApSK1D9MhWPUFRNqMGrwXEDjHWIq++fnOMpSP12DmDM\ngdbdpL2kMKsiCNlS+RAbZ4BIzVqGpAlMNt8+wUffU1ImhOh5Ey5tNBrmk9e3\nt8r/c6C//jgcRtpsAnV1NvESJMdHiOcWrjJwjEA0B/yG0QcZm79EDjg50HVj\n3IFZsVmG/J3kJPMhfi4weYw4XJVC1aiKWs43KNIcAuMYm4G/L3m3MD6rxdMm\nE8aELrHWdLA9RM4sJ7esIdNskNWvXLU62rRLezJXnMCrvdMFmCAhewjlQ213\nquuOAbXd8m/LZg1FprVI2Vjz5Qh918TRNRA177CqfDY/baGM5W4pYnfFt+kY\nyLRZ\r\n=n0Hx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBhRa1UeQHTlemYqdeenliY7DBKxZoVEhVX6ZSUt2ySvAiB7Qr5ubUNVbKENn6legU93eNiBhPWS1VfZVquq/ojviw=="}]},"maintainers":[{"name":"aimee.gm","email":"npm@aimes.me.uk"}],"_npmUser":{"name":"aimee.gm","email":"npm@aimes.me.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/responsive_0.3.0_1573339514588_0.8163467585850133"},"_hasShrinkwrap":false},"0.3.1":{"name":"@aimee.gm/responsive","version":"0.3.1","description":"Auto generate multiple resized images for responsive use","main":"dist/index.js","repository":{"type":"git","url":"https://github.com/aimee-gm/responsive.git"},"author":{"name":"Aimee Gamble-Milner","url":"https://www.aimes.me.uk"},"license":"MIT","scripts":{"prepublishOnly":"yarn build","build":"yarn tsc","test":"nyc mocha --opts src/test/mocha.opts"},"bin":{"resize-images":"./dist/bin/resizer.js","verify-resized-images":"./dist/bin/check.js"},"dependencies":{"cosmiconfig":"^6.0.0","glob":"^7.1.6","glob-promise":"^3.4.0","mkdirp-promise":"^5.0.1","sharp":"^0.23.2"},"devDependencies":{"@istanbuljs/nyc-config-typescript":"^0.1.3","@types/chai":"^4.2.4","@types/chai-as-promised":"^7.1.2","@types/mkdirp-promise":"^5.0.0","@types/mocha":"^5.2.7","@types/mock-fs":"^4.10.0","@types/sharp":"^0.23.0","@types/sinon":"^7.5.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","husky":"^3.0.9","mocha":"^6.2.2","mock-fs":"^4.10.3","nyc":"^14.1.1","prettier":"1.19.0","pretty-quick":"^2.0.1","sinon":"^7.5.0","source-map-support":"^0.5.16","ts-node":"^8.4.1","typescript":"^3.7.2"},"licenseText":"MIT License\n\nCopyright (c) 2019 Aimee Gamble-Milner\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@aimee.gm/responsive@0.3.1","dist":{"shasum":"450d3b7c16f1a56da189eaec19bdadbe011fb568","integrity":"sha512-O372QDB7CoT+SwquKqyYElahBAlqDi+JSFtBM+3CWmSELiphK0Y2gab51VzBbY+k0OWr10mPEqbBgJKV2dnz+Q==","tarball":"https://registry.npmjs.org/@aimee.gm/responsive/-/responsive-0.3.1.tgz","fileCount":44,"unpackedSize":18926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdx0bRCRA9TVsSAnZWagAAOcIP+wYxTEQtIlsBNf96l4vW\nt2K45jwbm0kcjSpgcFXyT3MVGX07K2oM3k+6SntyVNc2Ftj8sIoFWpECRPzB\nCm/3XGbxlUeQF+8NL9iI03PMEearwwF5Ct+KytyFNtlvitC0TTJdYPRUMWTx\n7fl6eUJCcjTNq2qQcqwLemG3GPpfOrK2CR+Cl5MZh0F4Qe0qc/eoTlynn2rO\nmTeP5U5i6p1VGjzJhDKq+jNFAo2dcEAR86eLaDJwHr2cTAAtCPY9KZ1tUM1y\nGtjUWkAKWIyT1SxkAMAq4C5D2sdhDmTD96i7PGCUsR8acX5N9wZjZ3cunnEw\nurcr8R7F3XCGPTI3amIp7NgRxaPFvo0Z1RJrlhnBoGelpO8pBvAxpnN7lq1J\nEtul9PSbck0aiBfLo53wAU8pUv8sksvUVqWcNhfhok4lKVqRhFG8uKSbvRys\nV5gxdd4p3sRBGBSrN+JZ3S3r8BJh0oiBsXTXHkhLFhktAarqDk0kWIccAQ6r\nyN8Eu/KVVkSUyT0SzV5eCg7rQeFk5Kq1djKaeBoSXp7UmRX3AohcB+uYDr2V\nregycGKqUCzx8X93Z1FfaWmjnm7oTMlI62J7Lz+kVuO7c3lMjOfP5o6JbK9I\nKtX5q4BHtyZdO0ktszKllCNWFlMCoAlja2jfFJlGdMDoA4lhdDypllLtzjIi\n5eL7\r\n=/++m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDV5AK4W88CH4G/+S/KUEoZSh9albagMVzshA8NiqWnFgIhAJkxjaE7+gmWpz4koRpSDw0XJLM1E+9sem03sGb1Bpt4"}]},"maintainers":[{"name":"aimee.gm","email":"npm@aimes.me.uk"}],"_npmUser":{"name":"aimee.gm","email":"npm@aimes.me.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/responsive_0.3.1_1573340881143_0.6032720208560862"},"_hasShrinkwrap":false},"0.4.0":{"name":"@aimee.gm/responsive","version":"0.4.0","description":"Auto generate multiple resized images for responsive use","main":"dist/index.js","repository":{"type":"git","url":"https://github.com/aimee-gm/responsive.git"},"author":{"name":"Aimee Gamble-Milner","url":"https://www.aimes.me.uk"},"license":"MIT","scripts":{"prepublishOnly":"yarn build","build":"yarn tsc","test":"nyc --all mocha --opts src/test/mocha.opts"},"bin":{"resize-images":"dist/bin/resizer.js","verify-resized-images":"dist/bin/check.js"},"dependencies":{"cosmiconfig":"^6.0.0","glob":"^7.1.6","glob-promise":"^3.4.0","mkdirp":"^1.0.4","sharp":"^0.25.2"},"devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.1","@types/chai":"^4.2.4","@types/chai-as-promised":"^7.1.2","@types/mkdirp":"^1.0.0","@types/mocha":"^7.0.2","@types/mock-fs":"^4.10.0","@types/sharp":"^0.24.0","@types/sinon":"^9.0.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","husky":"^4.2.3","mocha":"^7.1.1","mock-fs":"^4.10.3","nyc":"^15.0.1","prettier":"1.19.0","pretty-quick":"^2.0.1","sinon":"^9.0.1","source-map-support":"^0.5.16","ts-node":"^8.8.2","typescript":"^3.8.3"},"licenseText":"MIT License\n\nCopyright (c) 2019 Aimee Gamble-Milner\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@aimee.gm/responsive@0.4.0","dist":{"shasum":"96a1d60d33a82b0c665ec1ea16b4bfe92c471ebf","integrity":"sha512-Rhx1/jN9mv4vL2jVCWQ2SYTfNd89sq83dT6UOc80Ef+3L8JSaTM5CtXoAXmzwYyClH01Fv+NamUUWtLaSV9Iww==","tarball":"https://registry.npmjs.org/@aimee.gm/responsive/-/responsive-0.4.0.tgz","fileCount":44,"unpackedSize":19274,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeidDECRA9TVsSAnZWagAA1+kP/1ClDAyECgNWPu+0WsvO\nhQYN5xkzHkhcF4sUJOZVuYVsP5m/KRm0SjoT1Volu+3YvYos2F/BF7X9yabx\nu/C+WiaBw/8pmHcYTxOtqagy0IK63NeJCPNqWPcP02P3NcnzrTZ4Y1sZadc4\n+JhlPgS1Gw3KBp55fJxKFQI8Jz+fkHZZjuXQXpjXrt3D7a5bJenxCmS2LIr3\nI3MRebSa+3Fqzo/fqGmOynypdzd4546iA9YPEEVgF4nGO7tBy5NiyT+9FKvO\niGKvO7lSNxQtupNIAANHemrpcN/g3B54/u/537kEeP40S+IULnce5pqFculM\nM2tQPghG5dk3iv8vWOLKV+GHVL2SJ7Jfx5p+Zgo3VWeRYVi9Y+fA5QgUsqFO\nYiZ+4W34Zqc0EPRC/OeXvYBism71ZdA6pzEeBys5UVku/F9tF+Erg1Dj0GKF\naWzkjsuT8hlXVrG4U+h88jBhJbyVawi5TuVKfXbtA5IKmcaU3PUaWVYtQeKm\njwFVlc9bOzDNP5t7rmCa74XPs+vAF6vIfDJBF54NaKXFBjtdm0qTziG0RM0s\nh/rF7Sv0qSNRi/CAmxeTjabD9TOFQtzKZNGpOJzAxKhbUFN2AmJ+i3qf135P\nhEBoYRgh6MIndl3LXFlDz9xzggXbKepx18rsGCgmI7432zWKvSOAyoEnfRV1\nqbGi\r\n=oEaS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAWhpTNxqi0hH0pCrrB4BW1Vb3TkM79tfPa/IcUjbayEAiB/OURjNr0TL8/KbXGhOv8yW7dipjgjCPm8ILMYNwgxbw=="}]},"maintainers":[{"name":"aimee.gm","email":"npm@aimes.me.uk"}],"_npmUser":{"name":"aimee.gm","email":"npm@aimes.me.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/responsive_0.4.0_1586090179609_0.18880998238451818"},"_hasShrinkwrap":false},"0.5.0":{"name":"@aimee.gm/responsive","version":"0.5.0","description":"Auto generate multiple resized images for responsive use","main":"dist/index.js","repository":{"type":"git","url":"https://github.com/aimee-gm/responsive.git"},"author":{"name":"Aimee Gamble-Milner","url":"https://www.aimes.me.uk"},"license":"MIT","scripts":{"prepublishOnly":"yarn build","build":"yarn tsc","test":"nyc --all mocha --opts src/test/mocha.opts","prettier":"prettier --check \"src/**/*.ts\"","prettier:fix":"prettier --write \"src/**/*.ts\""},"bin":{"resize-images":"dist/bin/resizer.js","verify-resized-images":"dist/bin/check.js"},"dependencies":{"cosmiconfig":"^6.0.0","glob":"^7.1.6","glob-promise":"^3.4.0","mkdirp":"^1.0.4","sharp":"^0.25.2"},"devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.1","@types/chai":"^4.2.4","@types/chai-as-promised":"^7.1.2","@types/mkdirp":"^1.0.0","@types/mocha":"^7.0.2","@types/mock-fs":"^4.10.0","@types/sharp":"^0.24.0","@types/sinon":"^9.0.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","husky":"^4.2.3","mocha":"^7.1.1","mock-fs":"^4.10.3","nyc":"^15.0.1","prettier":"2.0.4","pretty-quick":"^2.0.1","sinon":"^9.0.1","source-map-support":"^0.5.16","ts-node":"^8.8.2","typescript":"^3.8.3"},"licenseText":"MIT License\n\nCopyright (c) 2019 Aimee Gamble-Milner\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@aimee.gm/responsive@0.5.0","dist":{"shasum":"82c5044cd5449c7222bb3cf602aca71840ed2c34","integrity":"sha512-y10kZB+IAa+J6fRg5puN6hMbLtBQjT/qXeAwQDdWODhGPiCEk9mBno1UQnB/ij1idjsQJhBRr9wbbA76A4S7Cw==","tarball":"https://registry.npmjs.org/@aimee.gm/responsive/-/responsive-0.5.0.tgz","fileCount":29,"unpackedSize":16484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejGk4CRA9TVsSAnZWagAADvEQAISSFXrcS2XoVyyYsquM\nyLipRosp7VAHWUu8clH7piT4Yx9ptm8rumnE0rSWTtdQa+PBAbzSuLrWTuwA\ng8nBQM6vu5/P3idoWHCMSOPd+KPZnIVrIRMsKnNTwrfj2Mt3w9mSJHerP0dZ\nLtIF6atO+FJXA2zbn14LpPDsfJvm0IdX4jxro07I6ImVmKMLaH7Kfx4ERLOL\nJxnfuSYTvoMMNOCwLeDWXXJEB6COYRb0ULgVQO6f/VBxwGvPPztT3GZFu7s+\nI06NCeFI8pHrWKR5PNpr9NTo7Hl/CnIon88oDG7tuP6BGLhMzGUJdPu4V2qW\nJlZc4FU49S7Y8G6U9Mq+TQKOakRIV2eFNqYR83RUDqakH/H0Rsuky3C47dRu\n0wPhzuy3wSid9bzKOQD3kpmglGRiGjXIKAmJpECvSV2Pq9MZDbtCfn40KveN\nH4atBbg4uqWgoTPnM+thZQTQkCG7coQewAOqriHdN3n2lDeBY9Dsn4shqHI0\nZb6cRyd4fuEBG4Xq7YadBoIZLxMEE7IOsjZimFo+QwAc1y1rQQu+MNKKty0J\n76Q/nTaIMqOTyep2qg4QVQf77/9xdJnvdZKc9PtgWtie/5maXRHXKkpPZfr4\nNfEb9MJUYNqVzaM2f3odytmUtZtGvBqFIKfSb3QywdM25+xxtYErrU5fH8Lg\n5Nwz\r\n=a8jk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNAnc0MkLN4nkVjq5OTTu4DxxjNxUWX48cnSlwLtvyKwIgWsZPyqhVRUN2AAs05A9RD8CZS/9lrkWSFCpqXx0t4ak="}]},"maintainers":[{"name":"aimee.gm","email":"npm@aimes.me.uk"}],"_npmUser":{"name":"aimee.gm","email":"npm@aimes.me.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/responsive_0.5.0_1586260280490_0.9882227883684063"},"_hasShrinkwrap":false}},"maintainers":[{"name":"aimee.gm","email":"npm@aimes.me.uk"}],"description":"Auto generate multiple resized images for responsive use","repository":{"type":"git","url":"https://github.com/aimee-gm/responsive.git"},"author":{"name":"Aimee Gamble-Milner","url":"https://www.aimes.me.uk"},"license":"MIT","readme":"# @aimee.gm/responsive\n\nAuto generate multiple resized images for responsive use with a simple CLI command. Also comes with a CLI tool to verify images have been resized (useful for CI) and handy methods for creating [eleventy](https://11ty.dev) shortcodes.\n\n- [@aimee.gm/responsive](#aimeegmresponsive)\n  - [Installation](#installation)\n  - [Usage](#usage)\n    - [Configuration](#configuration)\n    - [Resize images](#resize-images)\n    - [Check resized images](#check-resized-images)\n    - [shortcode()](#shortcode)\n    - [responsiveImages()](#responsiveimages)\n  - [Configuration](#configuration-1)\n    - [File format](#file-format)\n    - [Options](#options)\n      - [srcDir](#srcdir)\n      - [outDir](#outdir)\n      - [sizes](#sizes)\n      - [ext](#ext)\n      - [srcRewrite](#srcrewrite)\n      - [defaultSize](#defaultsize)\n\n## Installation\n\n```\nyarn add @aimee.gm/responsive\n```\n\n## Usage\n\n### Configuration\n\nCreate a `.responsiverc.yml` file in the root of your project.\n\nExample:\n\n```yaml\nsrcDir: site/assets/images/originals\noutDir: site/assets/images/photos\nsrcRewrite: assets/images/photos\nsizes:\n  - 400\n  - 800\n```\n\nSee [Configuration](#Configuration) for a detailed description.\n\n### Resize images\n\nRun `yarn resize-images` or `npx resize-images`. Resizes images found in `srcDir` and outputs them, reamed to `outDir` in `sizes`.\n\n### Check resized images\n\nRun `yarn verify-resized-images` or `npx verify-resized-images`. Verifies images found in `srcDir` have been correctly resized and reamed to `outDir` in `sizes`. Useful for CI.\n\n### shortcode()\n\n`shortcode(sizes: string[]): (src: string, alt: string, options: { class?: string } = {}) => string`\n\nReturns an function that can be used as an eleventy shortcode. Accepts the following arguments:\n\n- `src`: `string` (required) the path to the un-resized image file. The URL path will be modified using the `srcRewrite` configuration option.\n- `alt`: `string` (required) the alt text for the image\n- `options`: `object` (optional)\n  - `class` (optional) class to apply to the generated image element.\n\nExample:\n\n```javascript\nconst { shortcode } = require(\"@aimee.gm/responsive\");\n\nmodule.exports = function (eleventyConfig) {\n  eleventyConfig.addShortcode(\n    \"responsive\",\n    shortcode([\n      \"(min-width: 1025px) 864px\",\n      \"(min-width: 768px) 736px\",\n      \"(min-width: 645px) 608px\",\n      \"100vw\",\n    ])\n  );\n};\n```\n\nAnd use with nunjucks:\n\n```nunjucks\n{% responsive image.url, image.alt, { class: \"my-custom-class\" } %}\n```\n\n### responsiveImages()\n\n`responsiveImages(filepath: string): { src: string, srcset: string }`\n\nReturns an object with `src` and `srcset` attributes for a responsive `<img>` tag. `filepath` should be the path to the **original** image, relative to your project root. The `src` will be modified using the `srcRewrite` configuration option. Suitable for more control over how markup is rendered.\n\nExample:\n\n```javascript\nconst { responsiveImages } = require(\"@aimee.gm/responsive\");\n\nmodule.exports = function (eleventyConfig) {\n  eleventyConfig.addShortcode(\"responsive\", (filepath, alt) => {\n    const { src, srcset } = responsiveImages(filepath);\n    return `<img src=\"${src}\" srcset=\"${srcset}\" sizes=\"100vw\" alt=\"${alt}\">`;\n  });\n};\n```\n\n## Configuration\n\n### File format\n\nThe confiruration file can be one of:\n\n- `.responsiverc` (json)\n- `.responsiverc.json`\n- `.responsiverc.yaml`\n\n### Options\n\n#### srcDir\n\nLocation of original images to resize, relative path from configuration file. Search is recursive.\n\n#### outDir\n\nLocation of folder to save resized images, relative path from configuration file.\n\n#### sizes\n\nArray of sizes to resize to. Defaults to `[400, 800, 1600]`\n\n#### ext\n\nArray of file extensions to match for files to resize. Defaults to `[\"jpg\", \"jpeg\", \"png\"]`\n\n#### srcRewrite\n\nPath to use for `<img>` when using `responsiveImages()` to resolve a full-size image path to the resized files. Defaults to `outDir`\n\n#### defaultSize\n\nDefault size to use for creating the `src` attribute with `responsiveImages()` and `shortcode()`. Defaults to the largest resized image.\n","readmeFilename":"README.md"}