{"_id":"lightbox-react","_rev":"9-ffe0c51111f30c2eb519983a6fa2e673","name":"lightbox-react","description":"Lightbox for React components or images","dist-tags":{"latest":"0.3.8"},"versions":{"0.1.3":{"name":"lightbox-react","version":"0.1.3","description":"Lightbox for React components or images","scripts":{"build":"npm run lint && npm run build:demo && npm run build:umd","build:demo":"npm run clean:demo && cross-env NODE_ENV=production webpack --config webpack.config.demo.babel.js --bail","build:umd":"npm run clean:umd && cross-env NODE_ENV=production webpack --config webpack.config.umd.babel.js --bail","clean":"npm run clean:demo && npm run clean:umd","clean:demo":"rimraf build","clean:umd":"rimraf dist/umd","start":"cross-env NODE_ENV=development webpack-dev-server --hot --inline --config webpack.config.dev.babel.js","test":"webpack","lint":"eslint src","deploy":"npm run build && gh-pages -d build","prepublish":"npm run lint && npm run build:umd"},"main":"dist/umd/lightbox-react.js","files":["dist"],"repository":{"type":"git","url":"git+https://github.com/treyhuffine/lightbox-react.git"},"homepage":"http://treyhuffine.com/lightbox-react/","bugs":{"url":"https://github.com/treyhuffine/lightbox-react/issues"},"authors":["Trey Huffine"],"license":"MIT","dependencies":{"is-react":"^0.1.4","react-modal":"^1.4.0"},"peerDependencies":{"prop-types":"^15.5.8","react":"^15.0.0","react-dom":"^15.0.0"},"devDependencies":{"autoprefixer":"^6.3.7","babel-cli":"^6.10.1","babel-core":"^6.10.4","babel-eslint":"^7.1.0","babel-loader":"^6.2.4","babel-plugin-transform-exponentiation-operator":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-preset-react":"^6.11.1","cross-env":"^3.1.3","css-loader":"^0.26.0","eslint":"^3.2.2","eslint-config-blue-hour":"^0.2.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^2.0.1","eslint-plugin-react":"^6.0.0","file-loader":"^0.9.0","gh-pages":"^0.12.0","html-webpack-plugin":"^2.22.0","node-sass":"^3.8.0","postcss-loader":"^1.1.0","prop-types":"^15.5.8","react":"^15.5.4","react-dom":"^15.5.4","react-hot-loader":"^1.3.0","rimraf":"^2.5.3","sass-loader":"^4.0.0","style-loader":"^0.13.1","webpack":"^1.13.1","webpack-dev-server":"^1.14.1"},"keywords":["react","react-component","video","image","lightbox"],"gitHead":"ea7ec1c951579213fb7d287609e59e9255694c72","_id":"lightbox-react@0.1.3","_shasum":"0e6e9e9f470de126fb473d07f54d24b996683590","_from":".","_npmVersion":"4.0.2","_nodeVersion":"7.10.0","_npmUser":{"name":"treyhuffine","email":"treyhuffine@gmail.com"},"dist":{"shasum":"0e6e9e9f470de126fb473d07f54d24b996683590","tarball":"https://registry.npmjs.org/lightbox-react/-/lightbox-react-0.1.3.tgz","integrity":"sha512-iiHwy/tVxvifQRm4eutUgC/gc/KV2d9kBcKLBIlqfllSHuxvPbXnNDa1CM4Eg6OJ8uP/lPFWrTvByT6XtojOEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8PJOj4gYsVOI3uByi2U13NUofOUFGXTcVNDhdhaQehgIgSIAC2n640aWgbQoxzxGe40ejHVOe1pFgPf5FyUkyRls="}]},"maintainers":[{"name":"treyhuffine","email":"treyhuffine@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/lightbox-react-0.1.3.tgz_1494979325058_0.7814816823229194"},"directories":{}},"0.1.4":{"name":"lightbox-react","version":"0.1.4","description":"Lightbox for React components or images","scripts":{"build":"npm run lint && npm run build:demo && npm run build:umd","build:demo":"npm run clean:demo && cross-env NODE_ENV=production webpack --config webpack.config.demo.babel.js --bail","build:umd":"npm run clean:umd && cross-env NODE_ENV=production webpack --config webpack.config.umd.babel.js --bail","clean":"npm run clean:demo && npm run clean:umd","clean:demo":"rimraf build","clean:umd":"rimraf dist/umd","start":"cross-env NODE_ENV=development webpack-dev-server --hot --inline --config webpack.config.dev.babel.js","test":"webpack","lint":"eslint src","deploy":"npm run build && gh-pages -d build","prepublish":"npm run lint && npm run build:umd"},"main":"dist/umd/lightbox-react.js","files":["dist"],"repository":{"type":"git","url":"git+https://github.com/treyhuffine/lightbox-react.git"},"homepage":"http://treyhuffine.com/lightbox-react/","bugs":{"url":"https://github.com/treyhuffine/lightbox-react/issues"},"authors":["Trey Huffine"],"license":"MIT","dependencies":{"is-react":"^0.1.4","react-modal":"^1.4.0"},"peerDependencies":{"prop-types":"^15.5.8","react":"^15.0.0","react-dom":"^15.0.0"},"devDependencies":{"autoprefixer":"^6.3.7","babel-cli":"^6.10.1","babel-core":"^6.10.4","babel-eslint":"^7.1.0","babel-loader":"^6.2.4","babel-plugin-transform-exponentiation-operator":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-preset-react":"^6.11.1","cross-env":"^3.1.3","css-loader":"^0.26.0","eslint":"^3.2.2","eslint-config-blue-hour":"^0.2.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^2.0.1","eslint-plugin-react":"^6.0.0","file-loader":"^0.9.0","gh-pages":"^0.12.0","html-webpack-plugin":"^2.22.0","node-sass":"^3.8.0","postcss-loader":"^1.1.0","prop-types":"^15.5.8","react":"^15.5.4","react-dom":"^15.5.4","react-hot-loader":"^1.3.0","rimraf":"^2.5.3","sass-loader":"^4.0.0","style-loader":"^0.13.1","webpack":"^1.13.1","webpack-dev-server":"^1.14.1"},"keywords":["react","react-component","video","image","component","lightbox"],"gitHead":"914eaef5290ed9754b58c16573978d97cb2eec63","_id":"lightbox-react@0.1.4","_shasum":"b011b2f7611ec9e2f6e0b965aac798d3a43503c2","_from":".","_npmVersion":"4.0.2","_nodeVersion":"7.10.0","_npmUser":{"name":"treyhuffine","email":"treyhuffine@gmail.com"},"dist":{"shasum":"b011b2f7611ec9e2f6e0b965aac798d3a43503c2","tarball":"https://registry.npmjs.org/lightbox-react/-/lightbox-react-0.1.4.tgz","integrity":"sha512-oTb+nGBRdzF9PRbqkb3UceUvBJZ6qpZuWRKJDR4R8YCqZ+/PF8sstaU+fLZiCs5zd+pa1ZgmUUCV/l+zY1uoqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtc+P9Z1SQyDxz+yeZfnX5zq1zepe7rN5AP3lFPZHJuwIhAIpW6iNQ7XKfePUuuwkUN/gFlrvMPhGmWIby3Eb4EtGL"}]},"maintainers":[{"name":"treyhuffine","email":"treyhuffine@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/lightbox-react-0.1.4.tgz_1494979460896_0.2113715223968029"},"directories":{}},"0.1.5":{"name":"lightbox-react","version":"0.1.5","description":"Lightbox for React components or images","scripts":{"build":"npm run lint && npm run build:demo && npm run build:umd","build:demo":"npm run clean:demo && cross-env NODE_ENV=production webpack --config webpack.config.demo.babel.js --bail","build:umd":"npm run clean:umd && cross-env NODE_ENV=production webpack --config webpack.config.umd.babel.js --bail","clean":"npm run clean:demo && npm run clean:umd","clean:demo":"rimraf build","clean:umd":"rimraf dist/umd","start":"cross-env NODE_ENV=development webpack-dev-server --hot --inline --config webpack.config.dev.babel.js","test":"webpack","lint":"eslint src","deploy":"npm run build && gh-pages -d build","prepublish":"npm run lint && npm run build:umd"},"main":"dist/umd/lightbox-react.js","files":["dist"],"repository":{"type":"git","url":"git+https://github.com/treyhuffine/lightbox-react.git"},"homepage":"http://treyhuffine.com/lightbox-react/","bugs":{"url":"https://github.com/treyhuffine/lightbox-react/issues"},"authors":["Trey Huffine","Chris Fritz <forked>"],"license":"MIT","dependencies":{"is-react":"^1.0.0","react-modal":"^1.4.0"},"peerDependencies":{"prop-types":"^15.5.8","react":"^15.0.0","react-dom":"^15.0.0"},"devDependencies":{"autoprefixer":"^6.3.7","babel-cli":"^6.10.1","babel-core":"^6.10.4","babel-eslint":"^7.1.0","babel-loader":"^6.2.4","babel-plugin-transform-exponentiation-operator":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-preset-react":"^6.11.1","cross-env":"^3.1.3","css-loader":"^0.26.0","eslint":"^3.2.2","eslint-config-blue-hour":"^0.2.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^2.0.1","eslint-plugin-react":"^6.0.0","file-loader":"^0.9.0","gh-pages":"^0.12.0","html-webpack-plugin":"^2.22.0","node-sass":"^3.8.0","postcss-loader":"^1.1.0","prop-types":"^15.5.8","react":"^15.5.4","react-dom":"^15.5.4","react-hot-loader":"^1.3.0","rimraf":"^2.5.3","sass-loader":"^4.0.0","style-loader":"^0.13.1","webpack":"^1.13.1","webpack-dev-server":"^1.14.1"},"keywords":["react","react-component","video","image","component","lightbox"],"gitHead":"8e2ada890cbc008907ffa7c6ffbe5b056e7a846a","_id":"lightbox-react@0.1.5","_npmVersion":"5.0.3","_nodeVersion":"6.10.3","_npmUser":{"name":"treyhuffine","email":"treyhuffine@gmail.com"},"dist":{"integrity":"sha512-eTXKkZFvptwbKrOCd8FaTe7F25ZWKjV+9e/x6iammIuvKLeCmUHDE7uRWiTuj3tHWCgufgERlLR/diIPTOuTmA==","shasum":"0971004a9d1b7c5e8ae4cd0ee4d5c6f34fc641f1","tarball":"https://registry.npmjs.org/lightbox-react/-/lightbox-react-0.1.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBxktPXO/SMKGqpQAFRwQfF6wbNzSSfYswzGD37Wka3KAiEA2lwt9WevZfZCmHQlo4Qjq/QjKQELECi3Fn7N9uhzrnk="}]},"maintainers":[{"name":"treyhuffine","email":"treyhuffine@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lightbox-react-0.1.5.tgz_1497102228903_0.061804275028407574"},"directories":{}},"0.1.6":{"name":"lightbox-react","version":"0.1.6","description":"Lightbox for React components or images","scripts":{"build":"npm run lint && npm run build:demo && npm run build:umd","build:demo":"npm run clean:demo && cross-env NODE_ENV=production webpack --config webpack.config.demo.babel.js --bail","build:umd":"npm run clean:umd && cross-env NODE_ENV=production webpack --config webpack.config.umd.babel.js --bail","clean":"npm run clean:demo && npm run clean:umd","clean:demo":"rimraf build","clean:umd":"rimraf dist/umd","start":"cross-env NODE_ENV=development webpack-dev-server --hot --inline --config webpack.config.dev.babel.js","test":"NODE_ENV=production webpack --config webpack.config.umd.babel.js","lint":"eslint src","deploy":"npm run build && gh-pages -d build","prepublish":"npm run lint && npm run build:umd"},"main":"dist/umd/lightbox-react.js","files":["dist"],"repository":{"type":"git","url":"git+https://github.com/treyhuffine/lightbox-react.git"},"homepage":"http://treyhuffine.com/lightbox-react/","bugs":{"url":"https://github.com/treyhuffine/lightbox-react/issues"},"authors":["Trey Huffine","Chris Fritz <forked>"],"license":"MIT","dependencies":{"is-react":"^1.0.0","react-modal":"^1.4.0"},"peerDependencies":{"prop-types":"^15.5.8","react":"^15.0.0","react-dom":"^15.0.0"},"devDependencies":{"autoprefixer":"^6.3.7","babel-cli":"^6.10.1","babel-core":"^6.10.4","babel-eslint":"^7.1.0","babel-loader":"^6.2.4","babel-plugin-transform-exponentiation-operator":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-preset-react":"^6.11.1","cross-env":"^3.1.3","css-loader":"^0.26.0","eslint":"^3.2.2","eslint-config-blue-hour":"^0.2.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^2.0.1","eslint-plugin-react":"^6.0.0","file-loader":"^0.9.0","gh-pages":"^0.12.0","html-webpack-plugin":"^2.22.0","node-sass":"^3.8.0","postcss-loader":"^1.1.0","prop-types":"^15.5.8","react":"^15.5.4","react-dom":"^15.5.4","react-hot-loader":"^1.3.0","rimraf":"^2.5.3","sass-loader":"^4.0.0","style-loader":"^0.13.1","webpack":"^1.13.1","webpack-dev-server":"^1.14.1"},"keywords":["react","react-component","video","image","component","lightbox"],"gitHead":"cbbbd8c1032fef843e5b1fbe36a2429e87c55812","_id":"lightbox-react@0.1.6","_npmVersion":"6.0.1","_nodeVersion":"8.11.1","_npmUser":{"name":"treyhuffine","email":"treyhuffine@gmail.com"},"dist":{"integrity":"sha512-fnpeyJfXJxbxDrwcpctDrMZYMjcA/1vexnyldYBTMej//1J3BRpxjz0KkdUonFdu9v3RAa0Zbu4ZFUCiqHeAhA==","shasum":"43a8b245788d99b2540c47fe63961ec8b36d7603","tarball":"https://registry.npmjs.org/lightbox-react/-/lightbox-react-0.1.6.tgz","fileCount":5,"unpackedSize":389083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbInoPCRA9TVsSAnZWagAATJMQAImcK8+MF2Q+VmH90qx/\nZrAyMkCIQGNCpDEo0JQb2ADwo8f2CBmzAvrc0TSFWbfMHxwwHEUu5N9geb36\n/r6tfMXgz2zZM8oCWwpvTDzZdUepztDsWoC9Mag8pRstSCyC/ZKiK8IwYipL\nO6P0Vt5Wgjewh8VJQjxRpzzNdzTYY5k551vCkbAhbpshtvkpYy6ThlWcwFeL\nIFgmwmv1dVR2XD0ZZJQG7AGCkMK9YjKreOYnGJ9SSi/+6JhmQ0ZUjMt6rtpQ\nLS0197dYK2Mb7G0Vq7rCYIF01zkB2MxS95XlT7oT8hFBaHYqZD/KYbDQXYe0\nExxYl3/xIt/VXcIcuLE6WFIm/MRzuMXLqzqdHJ2ATEdSH/qMBYti1KXLP84O\nBRkGND0I2n01/X+H86Z+0bD5gY786l7//A8MHQRwikN+K1B/hOtyXDDlFCFm\nqtjjTsJaMzq6kxUzLGRXvq4AyPmT5M1aafE8yVuPeHNIU40q59EOeWQ4pRkG\nLWmeXTgZAJbElwkAjBqqwFaH8GzsrgTVED7ozMP5XHeKnxfYPVHA8GBHqAS+\nJvHHM6TEC+auCyytDrmTFKRfF5RkS1L7KLKM7IOjPVGUwVOxRFo+uNZtXiCK\nHkl32Tw2kHLsuLgkc1LDeM33bxpoxnQC7YQw6T2l5a/yOTz3REDDng+riP+F\nBGrZ\r\n=X/R6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFm3codQOKO5xWDIU60L8SXY2tM+s1dcFxvgKYO17UENAiEAvRgE2xXQDo5QyAeSPReYpDuAUCqh8r+20l77Caz4guQ="}]},"maintainers":[{"name":"treyhuffine","email":"treyhuffine@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lightbox-react_0.1.6_1528986125662_0.8319852103802658"},"_hasShrinkwrap":false},"0.3.6":{"name":"lightbox-react","version":"0.3.6","description":"Lightbox for React components or images","scripts":{"build":"npm run clean && cross-env NODE_ENV=production TARGET=umd webpack --bail","build:demo":"npm run clean:demo && cross-env NODE_ENV=production TARGET=demo webpack --bail","clean":"rimraf dist style.css style.css.map","clean:demo":"rimraf build","start":"cross-env NODE_ENV=development TARGET=development webpack-dev-server --inline --hot","lint":"eslint .","prettier":"prettier --single-quote --trailing-comma es5 --write \"./**/*.{md,js,css}\" \"!./{build,dist}/**\" \"!./style.css*\"","prepublishOnly":"npm run lint && npm run test && npm run build","test":"jest","test:watch":"jest --watchAll","deploy":"npm run build:demo && gh-pages -d build"},"main":"dist/main.js","typings":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/treyhuffine/lightbox-react.git"},"homepage":"http://treyhuffine.com/lightbox-react","bugs":{"url":"https://github.com/treyhuffine/lightbox-react/issues"},"authors":["Trey Huffine","Chris Fritz <forked>"],"license":"MIT","jest":{"testURL":"http://localhost","setupTestFrameworkScriptFile":"./node_modules/jest-enzyme/lib/index.js","setupFiles":["./test-config/shim.js","./test-config/test-setup.js"],"moduleFileExtensions":["js","jsx","json"],"moduleDirectories":["node_modules"],"moduleNameMapper":{"\\.(css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":"<rootDir>/__mocks__/fileMock.js"},"snapshotSerializers":["enzyme-to-json/serializer"]},"browserslist":["IE >= 11","last 2 versions","> 1%"],"dependencies":{"is-react":"^1.3.2","prop-types":"^15.6.1","react-modal":"^3.4.4"},"peerDependencies":{"react":"^15.5.0 || ^16.0.0","react-dom":"^15.5.0 || ^16.0.0"},"devDependencies":{"autoprefixer":"^8.4.1","babel-cli":"^6.10.1","babel-core":"^6.26.3","babel-loader":"^7.1.4","babel-plugin-transform-exponentiation-operator":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.8.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.11.1","coveralls":"^3.0.1","cross-env":"^5.1.4","css-loader":"^0.28.11","enzyme":"^3.3.0","enzyme-adapter-react-16":"^1.1.1","enzyme-to-json":"^3.3.3","eslint":"^4.19.1","eslint-config-airbnb":"^16.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.11.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.7.0","extract-text-webpack-plugin":"^4.0.0-beta.0","file-loader":"^1.1.11","gh-pages":"^1.1.0","html-webpack-plugin":"^3.2.0","jest":"^22.4.3","jest-enzyme":"^6.0.0","postcss-loader":"^2.1.5","prettier":"^1.12.1","react":"^16.3.2","react-dom":"^16.3.2","react-hot-loader":"^4.1.2","rimraf":"^2.5.3","style-loader":"^0.21.0","uglifyjs-webpack-plugin":"^1.2.5","webpack":"^4.11.0","webpack-cli":"^3.1.1","webpack-dev-server":"^3.1.4","webpack-node-externals":"^1.7.2"},"keywords":["react","react-component","video","image","component","lightbox"],"gitHead":"d1b3bed1a0754be2cb863a3fae151d7117ec5977","_id":"lightbox-react@0.3.6","_npmVersion":"6.4.1","_nodeVersion":"8.11.1","_npmUser":{"name":"treyhuffine","email":"treyhuffine@gmail.com"},"dist":{"integrity":"sha512-blubrbKNCKqIG5DWQmflcyonGJX6bDmVfeFCf7F1jTYn1Dn5/z38bowY23F8ayyp9YGKjMP5D/id2ANdImvbpQ==","shasum":"7ac641885d6c32911aa0f13660df0f0eeea96686","tarball":"https://registry.npmjs.org/lightbox-react/-/lightbox-react-0.3.6.tgz","fileCount":7,"unpackedSize":117351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsO6JCRA9TVsSAnZWagAAFAQP/A2ovHyovtrY8/1PqpHG\nIOMXe22okk104ui8Io0y9qjBbsfws17BH/uErz4Jv3R4CyUS3MXh7sn9gY6Y\nNSa97DV7pvUWNzxfhhumr1FvjmBLsOUUyC0UABbkEjOUSajnbMMGyYudPwO2\nztOQ5M5eWZ3HejCaIhKPu/6g7twKQkvwRpyW5UEcvwqULnhX1446hMtPaNxY\nL6VDyhBTHPaAcBDiFGPf42A/FbK3HSd/tVNtj/hHkrCGamx5w9pzmLEPhVJg\nFFMYPJTL2WlSivRCx5JlUN+HHVpJC+Xx6xKn3UCypsdZZzuNcmYaMt+ypPBi\nzL6GTSET4zPwepcpzJsgAfXs94+sNSWDnh+P8wMVsOZZeg4c+w7smg7WIVzO\nbpcRBnn494M1+Q0bZ6gxX5oNZw3+zaMY6bd7Koo1Cr2qCG5961AJ1zUDU3LQ\nNE1bolnpYyIxi1zibhpDeXPU3c/9qxy7Cq5CO/fvMvhDP1PKCKHri1el7nlZ\n1+0oN4T31NLbs07QfI8M3hlPA9SGH6KWbqvVlIvwK+oubbo1Hh9xGPP8HDhd\nQMVsBwRZP+xbSdF5k744he2oekMlbDKdxtJGBGfTeILCaHFIAmbDFsuJmvwk\nUJYA5vV/QFmrreaSJFJwgby7qPWUYANf1aa24W1+9XXNr0baDphfMon2c8XN\naD4o\r\n=aXxJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5H7pZG3+ExYfDp29rk4wGmGsun4guf+oSGmVQC35R2wIgJuR7ykdqym8MtB6VYjfd4Af5vXmMb8rPR6BvMIFuIGI="}]},"maintainers":[{"name":"treyhuffine","email":"treyhuffine@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lightbox-react_0.3.6_1538322056624_0.36131374816211936"},"_hasShrinkwrap":false},"0.3.7":{"name":"lightbox-react","version":"0.3.7","description":"Lightbox for React components or images","scripts":{"build":"npm run clean && cross-env NODE_ENV=production TARGET=umd webpack --bail","build:demo":"npm run clean:demo && cross-env NODE_ENV=production TARGET=demo webpack --bail","clean":"rimraf dist style.css style.css.map","clean:demo":"rimraf build","start":"cross-env NODE_ENV=development TARGET=development webpack-dev-server --inline --hot","lint":"eslint .","prettier":"prettier --single-quote --trailing-comma es5 --write \"./**/*.{md,js,css}\" \"!./{build,dist}/**\" \"!./style.css*\"","prepublishOnly":"npm run lint && npm run test && npm run build","test":"jest","test:watch":"jest --watchAll","deploy":"npm run build:demo && gh-pages -d build"},"main":"dist/main.js","typings":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/treyhuffine/lightbox-react.git"},"homepage":"http://treyhuffine.com/lightbox-react","bugs":{"url":"https://github.com/treyhuffine/lightbox-react/issues"},"authors":["Trey Huffine","Chris Fritz <forked>"],"license":"MIT","jest":{"testURL":"http://localhost","setupTestFrameworkScriptFile":"./node_modules/jest-enzyme/lib/index.js","setupFiles":["./test-config/shim.js","./test-config/test-setup.js"],"moduleFileExtensions":["js","jsx","json"],"moduleDirectories":["node_modules"],"moduleNameMapper":{"\\.(css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":"<rootDir>/__mocks__/fileMock.js"},"snapshotSerializers":["enzyme-to-json/serializer"]},"browserslist":["IE >= 11","last 2 versions","> 1%"],"dependencies":{"is-react":"^1.3.2","prop-types":"^15.6.1","react-modal":"^3.4.4"},"peerDependencies":{"react":"^15.5.0 || ^16.0.0","react-dom":"^15.5.0 || ^16.0.0"},"devDependencies":{"autoprefixer":"^8.4.1","babel-cli":"^6.10.1","babel-core":"^6.26.3","babel-loader":"^7.1.4","babel-plugin-transform-exponentiation-operator":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.8.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.11.1","coveralls":"^3.0.1","cross-env":"^5.1.4","css-loader":"^0.28.11","enzyme":"^3.3.0","enzyme-adapter-react-16":"^1.1.1","enzyme-to-json":"^3.3.3","eslint":"^4.19.1","eslint-config-airbnb":"^16.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.11.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.7.0","extract-text-webpack-plugin":"^4.0.0-beta.0","file-loader":"^1.1.11","gh-pages":"^1.1.0","html-webpack-plugin":"^3.2.0","jest":"^22.4.3","jest-enzyme":"^6.0.0","postcss-loader":"^2.1.5","prettier":"^1.12.1","react":"^16.3.2","react-dom":"^16.3.2","react-hot-loader":"^4.1.2","rimraf":"^2.5.3","style-loader":"^0.21.0","uglifyjs-webpack-plugin":"^1.2.5","webpack":"^4.11.0","webpack-cli":"^3.1.1","webpack-dev-server":"^3.1.4","webpack-node-externals":"^1.7.2"},"keywords":["react","react-component","video","image","component","lightbox"],"gitHead":"065b0e41961647fe8010263bc9dadb76c419128c","_id":"lightbox-react@0.3.7","_npmVersion":"6.4.1","_nodeVersion":"8.11.1","_npmUser":{"name":"treyhuffine","email":"treyhuffine@gmail.com"},"dist":{"integrity":"sha512-x7qHN/DOMlYwFs5DA2h20cZ3LXi87VnF5frwc5O7QQ8MWd/y9qpuOQHCXxWorelHtVbOyEaN9ERUmlKVYF8/TA==","shasum":"3d9a0915d1c2300050cf9c6280fa3f83ced29e97","tarball":"https://registry.npmjs.org/lightbox-react/-/lightbox-react-0.3.7.tgz","fileCount":7,"unpackedSize":117257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2FRrCRA9TVsSAnZWagAAlCYP+gOkPURLwJYMo208tCvD\nDMEijU93H9AFYTxli80vvTm6xHYbcnMesDqRFWxpYAKmETDGE82YIfI11riJ\norfRTP1yEUvC4ZsgagoGPGI/0pr3fr9ADwL6iEPFyYMArLEuBwG8OGtJOqvd\no0HKJRb2h0q4ZU+4BSgtOBZef/vEdSD7MAoye3SeR1KAkjveEQ3RHlTSZoU8\nSdyoFQRv3DCiybfP/Z0sMtn2u+ty6R3RSxYv5LUuHjERGV6B/ychrAO6GxRr\nRls2tV/Ykzd85ZORSLYiFijE/0CS+dTOifn4JT7YtK4p2Sw7NI+MBJj03sLa\nhS+NFY2T+Ut22M8kx5ATWveLiQXunXHIEXEIxAQtWyPOa/FUXoLPc37qnV1D\n5WGWNZW26OadlhXcL34S2TBfXy8AFpZi2tn85hz/7qRzVL1whFbRkMWzjKQ+\niz0rp7f12VYjFyS8APZOFHTHvyZoWZ610ZKBLdc5ijnPR15tWu98/sTZ5rxQ\nVftv73p1rmXBq3RdY7eylIIoPHmKGfdphLXWMc0AzLQWGujJL6MSO9+I+rNg\nc/BmQf7ibtKmq+kAgtAbZmAySukZ1mlEqo6vBGJEq1mtFkUYe2v8XS4nvw0J\np260AndHcUFg2z0tyRGjqdaxZTNbZxz76DM6XIBrUMDYJ6LgkQek6xXX9mmk\n+irI\r\n=7W8w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBPiMiDSPxoT9a5mSKgXkWVwSbAwuMvJnJ3DSPlMJhIQAiEA/IcX4UWe9AehJeZnPONXfyf8+6sINQvmGGUrS8kTltk="}]},"maintainers":[{"name":"treyhuffine","email":"treyhuffine@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lightbox-react_0.3.7_1540904042440_0.1851136829601241"},"_hasShrinkwrap":false},"0.3.8":{"name":"lightbox-react","version":"0.3.8","description":"Lightbox for React components or images","scripts":{"build":"npm run clean && cross-env NODE_ENV=production TARGET=umd webpack --bail","build:demo":"npm run clean:demo && cross-env NODE_ENV=production TARGET=demo webpack --bail","clean":"rimraf dist style.css style.css.map","clean:demo":"rimraf build","start":"cross-env NODE_ENV=development TARGET=development webpack-dev-server --inline --hot","lint":"eslint .","prettier":"prettier --single-quote --trailing-comma es5 --write \"./**/*.{md,js,css}\" \"!./{build,dist}/**\" \"!./style.css*\"","prepublishOnly":"npm run lint && npm run test && npm run build","test":"jest","test:watch":"jest --watchAll","deploy":"npm run build:demo && gh-pages -d build"},"main":"dist/main.js","typings":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/treyhuffine/lightbox-react.git"},"homepage":"http://treyhuffine.com/lightbox-react","bugs":{"url":"https://github.com/treyhuffine/lightbox-react/issues"},"authors":["Trey Huffine","Chris Fritz <forked>"],"license":"MIT","jest":{"testURL":"http://localhost","setupTestFrameworkScriptFile":"./node_modules/jest-enzyme/lib/index.js","setupFiles":["./test-config/shim.js","./test-config/test-setup.js"],"moduleFileExtensions":["js","jsx","json"],"moduleDirectories":["node_modules"],"moduleNameMapper":{"\\.(css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":"<rootDir>/__mocks__/fileMock.js"},"snapshotSerializers":["enzyme-to-json/serializer"]},"browserslist":["IE >= 11","last 2 versions","> 1%"],"dependencies":{"is-react":"^1.3.2","prop-types":"^15.6.1","react-modal":"^3.4.4"},"peerDependencies":{"react":"^15.5.0 || ^16.0.0","react-dom":"^15.5.0 || ^16.0.0"},"devDependencies":{"autoprefixer":"^8.4.1","babel-cli":"^6.10.1","babel-core":"^6.26.3","babel-loader":"^7.1.4","babel-plugin-transform-exponentiation-operator":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.8.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.11.1","coveralls":"^3.0.1","cross-env":"^5.1.4","css-loader":"^0.28.11","enzyme":"^3.3.0","enzyme-adapter-react-16":"^1.1.1","enzyme-to-json":"^3.3.3","eslint":"^4.19.1","eslint-config-airbnb":"^16.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.11.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.7.0","extract-text-webpack-plugin":"^4.0.0-beta.0","file-loader":"^1.1.11","gh-pages":"^1.1.0","html-webpack-plugin":"^3.2.0","jest":"^22.4.3","jest-enzyme":"^6.0.0","postcss-loader":"^2.1.5","prettier":"^1.12.1","react":"^16.3.2","react-dom":"^16.3.2","react-hot-loader":"^4.1.2","rimraf":"^2.5.3","style-loader":"^0.21.0","uglifyjs-webpack-plugin":"^1.2.5","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-dev-server":"^3.11.0","webpack-node-externals":"^1.7.2"},"keywords":["react","react-component","video","image","component","lightbox"],"gitHead":"20bb40e1aab28a963f4795f73f0f4c05a9717353","_id":"lightbox-react@0.3.8","_nodeVersion":"12.14.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-xzv1WTpp21lCEsQ0iv5YpTzfMTPaB02E1FU0b7nx2jTTiOo2MNYQGi1kuuGSXZbdH5rnorPfhZpJZ9m/6uLMdg==","shasum":"cf2c3094fde63aaca95b8fd921bea493594a797a","tarball":"https://registry.npmjs.org/lightbox-react/-/lightbox-react-0.3.8.tgz","fileCount":7,"unpackedSize":117327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKtokCRA9TVsSAnZWagAAnxIP/183rtgvdgK+CLr61BQl\ngXG5M64OyQmwh5BSG0Xpy2V90M+Qysd9m1J1lO0Hr+zQKkf/7MwLLCCnd3GM\npABN6ec95xgPBrhTwHXDGqKQcnJzS4jQDYEKUYRu8PlDF82pP4cp3RKkbSHC\nOfQTsWoZUk4nTkVaGvohMNzbA8HFvqbMHR3J4Z22Q1EbkkCRMbch52Rp42Q5\n6zuoMpyxPUObi0oOMmtm1Lh6C+OSyYe8quENbRE3oBwZ7RPRITAgrsf2goeq\nF0VBa5T/nGluhkeOzRbRvwSFMO1EwUUWk2Pqj5FhY1gg5+a2DO+VBJuDaQgF\n5bRaRxEN7vWGdfzu6W0L46P/I+8x5TQTcQ1hZPh5HJyNI1TTXR4qVmgWZjVH\nB06QjVgd0c4eUBEqFv730tHFk4AIbJgpfeaBjAChQFlWtnFGYoqOPizVLRVn\no0m91clXEUFrsAe0gJcYJpWGyk6bCUP70beCTlH8pdNOwlUoGcKCclXGfvhg\nJKY2JYKJQ3WOrcqWMEFDsL2rQO5esNfxHWKOe1DQ0CSKtbEtVG13FlXdjRl3\n9UXj38GaqOpcNoBvKYNiaB6LUrrfbYqz1OnnCDCrP3JvrvC7qWBe6xeTkvM8\n1QsdwzY3Y+ZRM3I6KPDHtOaijuX7KEYs7BnXWL4OWJt/wgDzEJCh6MPaF78s\nktYR\r\n=+qiY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDP4HPU8O4PxNjvG8Pz++ouZS0yXMhSp+aeikuCrGFkYAIga7qrUd4p4MmgNXhCRZshC/4eNirtChGvGioRy3SVMGk="}]},"maintainers":[{"name":"treyhuffine","email":"treyhuffine@gmail.com"}],"_npmUser":{"name":"treyhuffine","email":"treyhuffine@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lightbox-react_0.3.8_1596643875603_0.08474862719369436"},"_hasShrinkwrap":false}},"readme":"# React Component & Image Lightbox\n\n[![NPM](https://nodei.co/npm/lightbox-react.png)](https://npmjs.org/package/lightbox-react)\n\n### See it in action on [Skilled.dev - Coding Interview Course](https://skilled.dev?ref=lightbox-react) and [gitconnected - The Developer Community](https://gitconnected.com?ref=lightbox-react)\n\nA lightbox for React components or images. String passed as arguments are\nassumed to be the src for an image. Otherwise, it will check if the argument\nis able to be rended as a child React component of the lightbox.\n\n[DEMO](http://treyhuffine.com/lightbox-react/)\n\nOriginally forked from [fritz-c](https://github.com/fritz-c/react-image-lightbox)'s library\n\nFeatures\n\n- Keyboard shortcuts (with rate limiting)\n- Image Zoom\n- Flexible rendering using src values assigned on the fly\n- Image preloading for smoother viewing\n- Mobile friendly, with pinch to zoom and swipe (Thanks, [@webcarrot](https://github.com/webcarrot)!)\n- No external CSS\n\n## Example\n\n```jsx\nimport React, { Component } from 'react';\nimport Lightbox from 'lightbox-react';\nimport 'lightbox-react/style.css'; // This only needs to be imported once in your app\n\nimport VideoIframe from 'components/video';\n\nconst images = [\n  VideoIframe,\n  '//placekitten.com/1500/500',\n  '//placekitten.com/4000/3000',\n  '//placekitten.com/800/1200',\n  '//placekitten.com/1500/1500',\n];\n\nexport default class LightboxExample extends Component {\n  constructor(props) {\n    super(props);\n\n    this.state = {\n      photoIndex: 0,\n      isOpen: false,\n    };\n  }\n\n  render() {\n    const { photoIndex, isOpen } = this.state;\n\n    return (\n      <div>\n        <button type=\"button\" onClick={() => this.setState({ isOpen: true })}>\n          Open Lightbox\n        </button>\n\n        {isOpen && (\n          <Lightbox\n            mainSrc={images[photoIndex]}\n            nextSrc={images[(photoIndex + 1) % images.length]}\n            prevSrc={images[(photoIndex + images.length - 1) % images.length]}\n            onCloseRequest={() => this.setState({ isOpen: false })}\n            onMovePrevRequest={() =>\n              this.setState({\n                photoIndex: (photoIndex + images.length - 1) % images.length,\n              })\n            }\n            onMoveNextRequest={() =>\n              this.setState({\n                photoIndex: (photoIndex + 1) % images.length,\n              })\n            }\n          />\n        )}\n      </div>\n    );\n  }\n}\n```\n\n## Deprecation Notice\n\nAll unprefixed classes (listed below) will be removed in v4.0.0\\. Use their `ril-` prefixed alternatives instead. `close`, `closing`, `download-blocker`, `image-current`, `image-next`, `image-prev`, `inner`, `next-button`, `not-loaded`, `outer`, `prev-button`, `toolbar`, `toolbar-left`, `toolbar-right`, `zoom-in`, `zoom-out`\n\n## Options\n\n| Property            | Type   | Default        | Required | Description                                                                                                                                                   |\n| :------------------ | :----: | :------------: | :------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| mainSrc             | string |                | yes      | Main display image url or React component                                                                                                                     |\n| prevSrc             | string |                |          | Previous display image url or component (displayed to the left). If left undefined, `onMovePrevRequest` will not be called, and the button not displayed      |\n| nextSrc             | string |                |          | Next display image url or component (displayed to the right). If left undefined, `onMoveNextRequest` will not be called, and the button not displayed         |\n| mainSrcThumbnail    | string |                |          | Thumbnail image url corresponding to `props.mainSrc`. Displayed as a placeholder while the full-sized image loads.                                            |\n| prevSrcThumbnail    | string |                |          | Thumbnail image url corresponding to `props.prevSrc`. Displayed as a placeholder while the full-sized image loads.                                            |\n| nextSrcThumbnail    | string |                |          | Thumbnail image url corresponding to `props.nextSrc`. Displayed as a placeholder while the full-sized image loads.                                            |\n| onCloseRequest      | func   |                | yes      | Close window event. Should change the parent state such that the lightbox is not rendered                                                                     |\n| onMovePrevRequest   | func   | empty function |          | Move to previous image event. Should change the parent state such that `props.prevSrc` becomes `props.mainSrc`, `props.mainSrc` becomes `props.nextSrc`, etc. |\n| onMoveNextRequest   | func   | empty function |          | Move to next image event. Should change the parent state such that `props.nextSrc` becomes `props.mainSrc`, `props.mainSrc` becomes `props.prevSrc`, etc.     |\n| onImageLoadError    | func   | empty function |          | Called when an image fails to load.<div>`<code>(imageSrc: string, srcType: string, errorEvent: object): void</code>`</div>                                    |\n| discourageDownloads | bool   | `false`        |          | Enable download discouragement (prevents [right-click -> Save Image As...])                                                                                   |\n| animationDisabled   | bool   | `false`        |          | Disable all animation                                                                                                                                         |\n| animationOnKeyInput | bool   | `false`        |          | Disable animation on actions performed with keyboard shortcuts                                                                                                |\n| animationDuration   | number | `300`          |          | Animation duration (ms)                                                                                                                                       |\n| keyRepeatLimit      | number | `180`          |          | Required interval of time (ms) between key actions (prevents excessively fast navigation of images)                                                           |\n| keyRepeatKeyupBonus | number | `40`           |          | Amount of time (ms) restored after each keyup (makes rapid key presses slightly faster than holding down the key to navigate images)                          |\n| imageTitle          | node   |                |          | Image title (Descriptive element above image)                                                                                                                 |\n| imageCaption        | node   |                |          | Image caption (Descriptive element below image)                                                                                                               |\n| toolbarButtons      | node[] |                |          | Array of custom toolbar buttons                                                                                                                               |\n| reactModalStyle     | Object | `{}`           |          | Set `z-index` style, etc., for the parent react-modal ([react-modal style format](https://github.com/reactjs/react-modal#styles))                             |\n| imagePadding        | number | `10`           |          | Padding (px) between the edge of the window and the lightbox                                                                                                  |\n| clickOutsideToClose | bool   | `true`         |          | When true, clicks outside of the image close the lightbox                                                                                                     |\n| enableZoom          | bool   | `true`         |          | Set to false to disable zoom functionality and hide zoom buttons                                                                                              |\n\n## Browser Compatibility\n\n| Browser  | Works?                              |\n| :------- | :---------------------------------- |\n| Chrome   | Yes                                 |\n| Firefox  | Yes                                 |\n| Safari   | Yes                                 |\n| IE >= 10 | Yes                                 |\n| IE 9     | Everything works, but no animations |\n\n## Contributing\n\nAfter cloning the repository and running `npm install` inside, you can use the following commands to develop and build the project.\n\n```sh\n# Starts a webpack dev server that hosts a demo page with the lightbox.\n# It uses react-hot-loader so changes are reflected on save.\nnpm start\n\n# Lints the code with eslint and my custom rules.\nnpm run lint\n\n# Lints and builds the code, placing the result in the dist directory.\n# This build is necessary to reflect changes if you're\n#  `npm link`-ed to this repository from another local project.\nnpm run build\n```\n\nPull requests are welcome!\n\n## License\n\nMIT\n","maintainers":[{"name":"treyhuffine","email":"treyhuffine@gmail.com"}],"time":{"modified":"2022-06-19T12:17:54.875Z","created":"2017-05-17T00:02:05.293Z","0.1.3":"2017-05-17T00:02:05.293Z","0.1.4":"2017-05-17T00:04:21.162Z","0.1.5":"2017-06-10T13:43:49.057Z","0.1.6":"2018-06-14T14:22:05.779Z","0.3.6":"2018-09-30T15:40:56.797Z","0.3.7":"2018-10-30T12:54:02.576Z","0.3.8":"2020-08-05T16:11:15.759Z"},"homepage":"http://treyhuffine.com/lightbox-react","keywords":["react","react-component","video","image","component","lightbox"],"repository":{"type":"git","url":"git+https://github.com/treyhuffine/lightbox-react.git"},"bugs":{"url":"https://github.com/treyhuffine/lightbox-react/issues"},"license":"MIT","readmeFilename":"README.md"}