@rapideditor/location-conflation
Version:
Define complex geographic regions by including and excluding country codes and geojson shapes
63 lines (62 loc) • 1.8 kB
JSON
{
"name": "@rapideditor/location-conflation",
"version": "1.6.0",
"license": "ISC",
"repository": "github:rapideditor/location-conflation",
"contributors": [
"Bryan Housel <bhousel@gmail.com> (https://github.com/bhousel)"
],
"description": "Define complex geographic regions by including and excluding country codes and geojson shapes",
"keywords": [
"geofence",
"location",
"locationset",
"include",
"exclude",
"geojson"
],
"files": [
"index.mjs",
"dist/"
],
"type": "module",
"source": "./index.mjs",
"main": "./dist/location-conflation.cjs",
"module": "./index.mjs",
"exports": {
"import": "./index.mjs",
"require": "./dist/location-conflation.cjs"
},
"scripts": {
"all": "run-s clean test",
"clean": "shx rm -rf dist",
"build": "run-s build:**",
"build:browser": "esbuild ./index.mjs --platform=browser --format=iife --global-name=LocationConflation --bundle --sourcemap --outfile=./dist/location-conflation.iife.js",
"build:cjs": "esbuild ./index.mjs --platform=node --format=cjs --sourcemap --outfile=./dist/location-conflation.cjs",
"lint": "eslint index.mjs test/*.js",
"test": "run-s lint build test:node",
"test:node": "c8 node --test test/*.js"
},
"dependencies": {
"@aitodotai/json-stringify-pretty-compact": "^1.3.0",
"@mapbox/geojson-area": "^0.2.2",
"@rapideditor/country-coder": "^5.5.1",
"circle-to-polygon": "^2.2.0",
"geojson-precision": "^1.0.0",
"polyclip-ts": "~0.16.8"
},
"devDependencies": {
"c8": "^10.1.3",
"esbuild": "^0.25.7",
"eslint": "^9.31.0",
"globals": "^16.3.0",
"npm-run-all": "^4.1.5",
"shx": "^0.4.0"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=20"
}
}