point-focus
Version:
A React component for zooming and focusing on image points via click, drag, or cursor.
86 lines (85 loc) • 2.31 kB
JSON
{
"name": "point-focus",
"version": "1.0.5",
"description": "A React component for zooming and focusing on image points via click, drag, or cursor.",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "rollup -c rollup.config.cjs",
"scss:types": "typed-scss-modules src --includePaths src",
"scss:watch": "typed-scss-modules src --includePaths src --watch",
"release:patch": "npm version patch && npm publish --access public",
"release:minor": "npm version minor && npm publish --access public",
"release:major": "npm version major && npm publish --access public"
},
"keywords": [
"react",
"image",
"magnifier",
"zoom",
"lens",
"component",
"tsx",
"point-focus",
"image-zoom",
"zoom-image",
"image-magnifier",
"image-gallery",
"product-image-zoom",
"click-to-zoom",
"drag-to-zoom",
"hover-zoom",
"touch-zoom",
"typescript",
"responsive-image",
"ecommerce",
"accessibility",
"customizable",
"touch-friendly"
],
"author": "Adrian Perdomo Llerena",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/aperdomoll90/point-focus.git"
},
"homepage": "https://github.com/aperdomoll90/point-focus#readme",
"bugs": {
"url": "https://github.com/aperdomoll90/point-focus/issues"
},
"dependencies": {
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
"tslib": "^2.8.1"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^12.1.2",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"rollup": "^3.29.5",
"rollup-plugin-dts": "^5.3.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"sass": "^1.88.0",
"typed-scss-modules": "^8.1.1",
"typescript": "^5.8.3"
}
}