@jacobsdigitalfactory/react-image-hotspots
Version:
React component for rendering images with hotspots
72 lines (71 loc) • 1.73 kB
JSON
{
"name": "@jacobsdigitalfactory/react-image-hotspots",
"version": "1.7.2",
"description": "React component for rendering images with hotspots",
"main": "dist/ImageHotspots.js",
"files": [
"dist",
"LICENSE"
],
"scripts": {
"pretest": "standard",
"test": "jest",
"lint": "standard --fix",
"build": "babel ./src --out-dir ./dist -s inline",
"build:storybook": "build-storybook -c .storybook -o docs",
"prepublishOnly": "npm run build",
"start": "start-storybook"
},
"repository": {
"type": "git",
"url": "git+https://github.com/filipecorrea/react-image-hotspots.git"
},
"keywords": [
"react",
"component",
"image",
"picture",
"photo",
"control",
"zoom",
"magnify",
"minimap",
"hotspot"
],
"author": "Filipe Corrêa <filipecorrea@me.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/filipecorrea/react-image-hotspots/issues"
},
"homepage": "https://github.com/filipecorrea/react-image-hotspots#readme",
"devDependencies": {
"@babel/cli": "^7.5.0",
"@babel/core": "^7.5.0",
"@storybook/addon-knobs": "^5.1.9",
"@storybook/react": "^5.1.9",
"babel-eslint": "^10.0.2",
"babel-loader": "^8.0.6",
"jest": "^24.8.0",
"prop-types": "^15.7.2",
"react": "^18.0.0",
"standard": "^13.1.0"
},
"peerDependencies": {
"react": ">=^16.8.6 <= 18"
},
"standard": {
"env": [
"jest"
],
"parser": "babel-eslint",
"ignore": [
"docs/"
]
},
"jest": {
"moduleNameMapper": {
"^.+\\.(css|sass|scss|less)$": "<rootDir>/mock/empty-module.js",
"^.+\\.(png|jpg|jpeg|gif)$": "<rootDir>/mock/empty-module.js"
}
}
}