UNPKG

react-image-pointer

Version:

A React component for creating interactive images with clickable points and information cards connected by lines. Enhanced with improved modal, better performance, and enhanced interactivity.

98 lines (97 loc) 2.67 kB
{ "type": "module", "name": "react-image-pointer", "version": "1.3.0", "description": "A React component for creating interactive images with clickable points and information cards connected by lines. Enhanced with improved modal, better performance, and enhanced interactivity.", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "publishConfig": { "access": "public" }, "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "next lint", "build:lib": "rollup -c", "prepublishOnly": "npm run build:lib", "test": "jest", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build" }, "keywords": [ "react", "react-component", "interactive-image", "image-pointer", "hotspot", "image-annotation", "ui-component", "typescript", "tailwindcss" ], "author": { "name": "rretta", "email": "rretta.dev@gmail.com", "url": "https://github.com/rretta" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/rretta/image-pointer.git" }, "bugs": { "url": "https://github.com/rretta/image-pointer/issues" }, "homepage": "https://image-pointer.vercel.app/", "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "dependencies": { "react-icons": "^5.5.0" }, "devDependencies": { "@babel/core": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "@babel/preset-typescript": "^7.27.1", "@eslint/eslintrc": "^3", "@rollup/plugin-babel": "^6.0.0", "@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-node-resolve": "^15.0.0", "@rollup/plugin-terser": "^0.4.0", "@rollup/plugin-typescript": "^11.0.0", "@storybook/addon-essentials": "^7.0.0", "@storybook/addon-interactions": "^7.0.0", "@storybook/react": "^7.0.0", "@storybook/testing-library": "^0.2.0", "@tailwindcss/postcss": "^4", "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^15.0.0", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "eslint": "^9", "eslint-config-next": "15.3.1", "jest": "^29.0.0", "jest-environment-jsdom": "^29.0.0", "next": "15.3.1", "react": "^19.0.0", "react-dom": "^19.0.0", "rollup": "^4.0.0", "rollup-plugin-peer-deps-external": "^2.2.4", "tailwindcss": "^4", "ts-jest": "^29.0.0", "typescript": "^5.0.0" }, "engines": { "node": ">=14.0.0", "npm": ">=6.0.0" } }