UNPKG

react-image-magnify

Version:

A responsive image zoom component designed for shopping sites.

106 lines (105 loc) 3.27 kB
{ "name": "react-image-magnify", "version": "2.7.4", "description": "A responsive image zoom component designed for shopping sites.", "repository": { "type": "git", "url": "https://github.com/ethanselzer/react-image-magnify.git" }, "author": "Ethan Selzer <ethanselzer@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/ethanselzer/react-image-magnify/issues" }, "homepage": "https://github.com/ethanselzer/react-image-magnify", "keywords": [ "react", "image", "photo", "picture", "zoom", "enlarge", "magnify", "expand", "lens", "detail", "ecommerce", "store", "shopping", "product" ], "main": "dist/ReactImageMagnify.js", "module": "dist/es/ReactImageMagnify.js", "files": [ "dist", "LICENCE" ], "scripts": { "analyze": "npm run stats && webpack-bundle-analyzer stats.json", "build-umd": "webpack -p", "build-cjs": "cross-env BABEL_ENV=cjs babel src --out-dir dist", "build-es": "babel src --out-dir dist/es", "build": "rimraf dist && npm run build-cjs && npm run build-es && npm run build-umd", "build-watch": "cross-env BABEL_ENV=cjs babel --watch src --out-dir dist", "prepublishOnly": "npm run lint && npm test && npm run build", "lint": "eslint \"@(src|test)/**/*.js\"", "stats": "webpack -p --profile --json > stats.json", "test": "npm run lint && npm run test-only", "test-only": "cross-env BABEL_ENV=test mocha --recursive --require babel-core/register --require test/setup test", "test-watch": "npm run test-only -- --watch", "test-coverage": "rimraf coverage && nyc --reporter=lcov npm run test-only && nyc report", "test-ci": "npm run lint && npm run test-coverage && npm run coveralls", "coveralls": "nyc report --reporter=text-lcov | coveralls" }, "nyc": { "sourceMap": false, "instrument": false, "exclude": [ "test" ] }, "devDependencies": { "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-eslint": "^8.0.1", "babel-loader": "^7.1.2", "babel-plugin-istanbul": "^4.1.5", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-es2015-modules-umd": "^6.24.1", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-2": "^6.24.1", "chai": "4.1.2", "coveralls": "3.0.0", "cross-env": "^5.0.5", "enzyme": "3.6.0", "enzyme-adapter-react-16": "1.5.0", "eslint": "^4.8.0", "eslint-plugin-chai-friendly": "^0.4.0", "eslint-plugin-import": "^2.7.0", "eslint-plugin-jsx-a11y": "^6.0.2", "eslint-plugin-react": "^7.4.0", "jsdom": "^12.0.0", "mocha": "4.0.0", "nyc": "^11.2.1", "react": "^16.5.0", "react-dom": "^16.5.0", "react-test-renderer": "^16.5.0", "rimraf": "^2.6.2", "sinon": "4.1.2", "webpack": "^3.6.0", "webpack-bundle-analyzer": "^2.9.0" }, "peerDependencies": { "react": "~0.14.9 || ^15.0.0 || ^16.0.0" }, "dependencies": { "clamp": "1.0.1", "detect-it": "3.0.3", "fast-deep-equal": "1.0.0", "object-assign": "4.1.1", "prop-types": "15.6.0", "react-cursor-position": "2.5.3", "react-required-if": "1.0.1" } }