{"_id":"x-photoswipe","_rev":"1-f62839d87c7c732d47af7373cfbbab0f","name":"x-photoswipe","description":"JavaScript gallery","dist-tags":{"latest":"4.1.3-rc.1"},"versions":{"4.1.3-rc.1":{"name":"x-photoswipe","version":"4.1.3-rc.1","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt jshint"},"devDependencies":{"grunt":"~0.4.5","grunt-autoprefixer":"^3.0.3","grunt-aws-s3":"^0.14.2","grunt-contrib-clean":"~0.7.0","grunt-contrib-concat":"~0.5.1","grunt-contrib-copy":"^0.8.2","grunt-contrib-cssmin":"^0.14.0","grunt-contrib-jshint":"~0.11.3","grunt-contrib-uglify":"~0.11.0","grunt-contrib-watch":"~0.6.1","grunt-jekyll":"~0.4.3","grunt-sass":"^1.1.0","grunt-svgmin":"^3.1.0"},"repository":{"type":"git","url":"git://github.com/dimsemenov/Photoswipe.git"},"description":"JavaScript gallery","bugs":{"url":"https://github.com/dimsemenov/Photoswipe/issues"},"homepage":"http://photoswipe.com","main":"dist/photoswipe.js","keywords":["gallery","lightbox","photo","image","touch","swipe","zoom"],"author":{"name":"Dmitry Semenov","url":"http://dimsemenov.com"},"license":"MIT","gitHead":"e0c76e8072fe9cdb71ef53a13a0b5f054df95808","_id":"x-photoswipe@4.1.3-rc.1","_npmVersion":"5.4.1","_nodeVersion":"8.1.4","_npmUser":{"name":"airyland","email":"airyland@qq.com"},"dist":{"integrity":"sha512-ok+x+1ufLuBT9dfM5P2FcRefwNniQoVwwfBhGa5gLn8NrSTzNah2p4IElMLwzXuKLtyH4yb+z3IsdDef3FOL5A==","shasum":"e761901752dd3dd1f718e538514b609b5df5f7db","tarball":"https://registry.npmjs.org/x-photoswipe/-/x-photoswipe-4.1.3-rc.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZxgqT3wEdlyxhJj0B4ShVilmYI1FbPNkUFFj5EMPfvwIhAO+FyKOp3/xNvBzTZMV9+9x8IM0odGgsBhnuhTHFApXC"}]},"maintainers":[{"name":"airyland","email":"airyland@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/x-photoswipe-4.1.3-rc.1.tgz_1506169359937_0.039625740610063076"}}},"readme":"# PhotoSwipe Repository \n\n[![Build Status](https://travis-ci.org/dimsemenov/PhotoSwipe.svg)](https://travis-ci.org/dimsemenov/PhotoSwipe) \n[![devDependency Status](https://david-dm.org/dimsemenov/PhotoSwipe/dev-status.svg)](https://david-dm.org/dimsemenov/PhotoSwipe#info=devDependencies)\n[![Flattr](http://api.flattr.com/button/flattr-badge-large.png)](http://flattr.com/thing/3698358/dimsemenovPhotoSwipe-on-GitHub)\n\nJavaScript image gallery for mobile and desktop. \n\n- [Documentation and getting started guide](http://photoswipe.com/documentation/getting-started.html).\n- [Demo and script home page](http://photoswipe.com).\n- [NPM](https://www.npmjs.com/package/photoswipe) `npm install photoswipe`.\n- Bower `bower install photoswipe`.\n\n## Location of files\n\n- Compiled PhotoSwipe JS and CSS files, SVG and PNG sprites are in the [dist/](https://github.com/dimsemenov/PhotoSwipe/tree/master/dist) folder.\n- Source files (.JS and .SCSS) are in the [src/](https://github.com/dimsemenov/PhotoSwipe/tree/master/src) folder.  Note that PhotoSwipe uses Autoprefixer when compiling SASS files.\n- Demo website is in the [website/](https://github.com/dimsemenov/PhotoSwipe/tree/master/website) folder.\n- Documentation markdown files are in [website/documentation/](https://github.com/dimsemenov/PhotoSwipe/tree/master/website/documentation).\n\n## Plugins / extensions / addons\n\n- [Ruby gem](https://rubygems.org/gems/photoswipe-rails).\n- [Ember.js addon](https://github.com/poetic/ember-cli-photoswipe).\n- [Eager app](https://eager.io/app/DvuKIoU8iTOt).\n- [Koken CMS plugin](https://github.com/DanielMuller/koken-plugin-photoswipe).\n- [Orchard CMS module](https://gallery.orchardproject.net/List/Modules/Orchard.Module.Cascade.PhotoSwipe).\n- [Yellow CMS plugin](https://github.com/datenstrom/yellow-plugins/tree/master/gallery).\n- [Kirby CMS plugin](https://github.com/SiteMarina/guggenheim).\n- [Drupal CMF module](https://www.drupal.org/project/photoswipe).\n- [ProcessWire CMS module](https://github.com/blynx/MarkupProcesswirePhotoswipe).\n- [SPIP CMS module](https://plugins.spip.net/photoswipe.html).\n\nCoded something useful? <a href='mailto:diiiimaaaa@gmail.com?subject=\"PhotoSwipe Plugin\"'>Email me</a> and I’ll post a link to it here.\n\n## Build \n\nTo compile PhotoSwipe by yourself, make sure that you have [Node.js](http://nodejs.org/), [Grunt.js](https://github.com/cowboy/grunt), [Ruby](http://www.ruby-lang.org/) and [Jekyll](https://github.com/mojombo/jekyll/) installed, then:\n\n1) Clone the repository\n\n\tgit clone https://github.com/dimsemenov/PhotoSwipe.git\n\n2) Go inside the PhotoSwipe folder that you fetched and install Node dependencies\n\n\tcd PhotoSwipe && npm install\n\n3) Run `grunt` to generate the JS and CSS files in the `dist` folder and the site in the `_site/` folder\n\n\tgrunt\n\nOptionally:\n\n- Run `grunt watch` to automatically rebuild files (JS, CSS, demo website and documentation) when you change files in `src/` or in `website/`.\n- Run `grunt nosite` to build just JS and CSS files (output is folder `dist/`).\n- Run `grunt pswpbuild` to build just JS files. Param `--pswp-exclude` allows to exclude modules, for example `grunt pswpbuild --pswp-exclude=history` will exclude history module.\n\n## Using PhotoSwipe?\n\nIf you’ve used PhotoSwipe in some interesting way, or on the site of a popular brand, I’d be very grateful if you <a href='mailto:diiiimaaaa@gmail.com?subject=\"Site that uses PhotoSwipe\"'>shoot me</a> a link to it.\n\n## License\n\nScript is licensed under MIT license with one exception: Do not create a public WordPress plugin based on it, as I will develop it. If you need to use it for a public WordPress plugin right now, please ask me by email first. Thanks!\n\nAttribution is not required, but much appreciated, especially if you’re making a product for developers.\n\n## About\n\nPhotoSwipe 4.0+ is developed by [Dmitry Semenov](http://twitter.com/dimsemenov). But initially script was created in 2011 by [Code Computerlove](http://www.codecomputerlove.com/), a digital agency in Manchester, they [passed](https://twitter.com/PhotoSwipe/status/444134042787930113) on development in March 2014. You can view [source and documentation](https://github.com/dimsemenov/PhotoSwipe/tree/v3.0.3) of old PhotoSwipe (<4.0) in history of this repo.\n\n\n","maintainers":[{"name":"airyland","email":"airyland@qq.com"}],"time":{"modified":"2022-05-24T21:08:06.229Z","created":"2017-09-23T12:22:40.118Z","4.1.3-rc.1":"2017-09-23T12:22:40.118Z"},"homepage":"http://photoswipe.com","keywords":["gallery","lightbox","photo","image","touch","swipe","zoom"],"repository":{"type":"git","url":"git://github.com/dimsemenov/Photoswipe.git"},"author":{"name":"Dmitry Semenov","url":"http://dimsemenov.com"},"bugs":{"url":"https://github.com/dimsemenov/Photoswipe/issues"},"license":"MIT","readmeFilename":"README.md"}