Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-image-lightbox

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-image-lightbox - npm Package Compare versions

Comparing version 2.2.0 to 3.0.0

dist/umd/react-image-lightbox.js

55

CHANGELOG.md

@@ -1,54 +0,1 @@

v2.1.0 - Thu, 28 Apr 2016 15:02:18 GMT
--------------------------------------
-
v2.0.0 - Thu, 14 Apr 2016 05:56:21 GMT
--------------------------------------
-
v1.1.2 - Tue, 05 Apr 2016 01:33:58 GMT
--------------------------------------
-
v1.1.1 - Tue, 22 Mar 2016 07:53:55 GMT
--------------------------------------
-
v1.1.0 - Wed, 16 Mar 2016 07:54:02 GMT
--------------------------------------
-
v1.0.5 - Tue, 16 Feb 2016 11:10:44 GMT
--------------------------------------
-
v1.0.4 - Mon, 15 Feb 2016 06:45:15 GMT
--------------------------------------
-
v1.0.3 - Mon, 15 Feb 2016 00:55:49 GMT
--------------------------------------
-
v1.0.2 - Mon, 15 Feb 2016 00:07:49 GMT
--------------------------------------
-
See the GitHub [Releases](https://github.com/fritz-c/react-image-lightbox/releases) for information on updates.
{
"name": "react-image-lightbox",
"version": "2.2.0",
"version": "3.0.0",
"description": "A lightbox component for React.js",
"scripts": {
"start": "node_modules/.bin/gulp dev",
"prepublish": "node_modules/.bin/gulp clean && node_modules/.bin/gulp build"
"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": "lib/ReactImageLightbox.js",
"main": "dist/umd/react-image-lightbox.js",
"files": [
"dist"
],
"repository": {

@@ -14,3 +26,3 @@ "type": "git",

},
"homepage": "https://github.com/fritz-c/react-image-lightbox",
"homepage": "https://fritz-c.github.io/react-image-lightbox",
"bugs": "https://github.com/fritz-c/react-image-lightbox/issues",

@@ -22,13 +34,37 @@ "authors": [

"dependencies": {
"radium": "^0.17.1"
"react-modal": "^1.4.0"
},
"peerDependencies": {
"react": "^15.0.1"
"react": "^15.0.0",
"react-dom": "^15.0.0"
},
"devDependencies": {
"gulp": "^3.9.1",
"react": "^15.0.1",
"react-component-gulp-tasks": "^0.7.7",
"react-dom": "^15.0.1",
"rf-release": "^0.4.0"
"autoprefixer": "^6.3.7",
"babel-cli": "^6.10.1",
"babel-core": "^6.10.4",
"babel-eslint": "^6.1.2",
"babel-loader": "^6.2.4",
"babel-plugin-transform-object-rest-spread": "^6.8.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.11.1",
"cross-env": "^2.0.0",
"css-loader": "^0.23.1",
"eslint": "^2.9.0",
"eslint-config-blue-hour": "0.0.2",
"eslint-plugin-import": "^1.10.2",
"eslint-plugin-jsx-a11y": "^1.5.5",
"eslint-plugin-react": "^5.2.2",
"file-loader": "^0.9.0",
"gh-pages": "^0.11.0",
"html-webpack-plugin": "^2.22.0",
"node-sass": "^3.8.0",
"postcss-loader": "^0.9.1",
"react": "^15.2.0",
"react-dom": "^15.2.0",
"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"
},

@@ -40,8 +76,3 @@ "keywords": [

"lightbox"
],
"browserify-shim": {
"react": "global:React",
"react-dom": "global:ReactDOM",
"radium": "global:Radium"
}
]
}

@@ -14,3 +14,2 @@ # React Image Lightbox

- Image preloading for smoother viewing
- Few dependencies
- No external CSS

@@ -100,1 +99,25 @@

clickOutsideToClose | bool | `true` | | When true, clicks outside of the image close the lightbox
## Contributing
After cloning the repository and running `npm install` inside, you can use the following commands to develop and build the project.
```sh
# Starts a webpack dev server that hosts a demo page with the lightbox.
# It uses react-hot-loader so changes are reflected on save.
npm start
# Lints the code with eslint and my custom rules.
npm run lint
# Lints and builds the code, placing the result in the dist directory.
# This build is necessary to reflect changes if you're
# `npm link`-ed to this repository from another local project.
npm run build
```
Pull requests are welcome!
## License
MIT
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc