react-ol-choropleth
Version:
A React plugin for creating choropleth maps using OpenLayers
85 lines (84 loc) • 2.3 kB
JSON
{
"name": "react-ol-choropleth",
"version": "0.3.0",
"private": false,
"description": "A React plugin for creating choropleth maps using OpenLayers",
"type": "module",
"main": "./dist/react-ol-choropleth.umd.cjs",
"module": "./dist/react-ol-choropleth.js",
"types": "./dist/index.d.ts",
"style": "./dist/style.css",
"files": [
"dist",
"README.md",
"LICENSE"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/react-ol-choropleth.js",
"require": "./dist/react-ol-choropleth.umd.cjs",
"default": "./dist/react-ol-choropleth.js"
},
"./dist/style.css": "./dist/style.css",
"./style.css": "./dist/style.css"
},
"scripts": {
"dev": "cd demo && npm run dev",
"build": "tsc && vite build",
"build:demo": "cd demo && npm run build",
"preview": "cd demo && npm run preview",
"test": "vitest",
"prepare": "npm run build",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"setup": "npm install && cd demo && npm install",
"prepublishOnly": "npm run build",
"deploy:demo": "npm run build:demo && gh-pages -d demo/dist"
},
"peerDependencies": {
"ol": "^10.4.0",
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
},
"dependencies": {
"chroma-js": "^2.4.2"
},
"devDependencies": {
"@types/chroma-js": "^2.4.3",
"@types/node": "^22.13.10",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@vitejs/plugin-react": "^4.3.4",
"eslint": "^9.21.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.19",
"gh-pages": "^6.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"terser": "^5.39.0",
"typescript": "~5.7.2",
"vite": "^6.2.0",
"vite-plugin-dts": "^4.5.3",
"vitest": "^1.3.1"
},
"keywords": [
"react",
"openlayers",
"choropleth",
"map",
"visualization",
"geospatial",
"gis"
],
"author": "Abdulrhman El-Saed",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/AbdoElsaed/react-ol-choropleth"
},
"bugs": {
"url": "https://github.com/AbdoElsaed/react-ol-choropleth/issues"
},
"homepage": "https://github.com/AbdoElsaed/react-ol-choropleth#readme"
}