UNPKG

react-image-map-resizer

Version:

This is a simple library that makes HTML Image Maps responsive, so that they automatically stay scaled to the size of the image they are attached to using a React hook and native html img and map elements.

52 lines (51 loc) 1.55 kB
{ "name": "react-image-map-resizer", "version": "1.0.1", "description": "This is a simple library that makes HTML Image Maps responsive, so that they automatically stay scaled to the size of the image they are attached to using a React hook and native html img and map elements.", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "rollup": "rollup -c --bundleConfigAsCjs" }, "repository": { "type": "git", "url": "git+https://github.com/Knoka1/react-image-map-resizer.git" }, "keywords": [ "resize", "responsive", "image-map", "responsive-images", "resizer", "imagemap", "responsive-image-map", "react-responsive", "react-responsive-image-map", "react-image-map", "react-resizer", "react-imagemap-resizer", "react-image-map-resizer" ], "author": "Alec do Couto", "license": "MIT", "bugs": { "url": "https://github.com/Knoka1/react-image-map-resizer/issues" }, "homepage": "https://github.com/Knoka1/react-image-map-resizer#readme", "dependencies": { "react": "^19.1.0", "tslib": "^2.8.1", "typescript": "^5.8.3" }, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "@types/react": "^19.1.3", "rollup-plugin-dts": "^6.2.1", "rollup-plugin-peer-deps-external": "^2.2.4" } }