UNPKG

mapshaper

Version:

A tool for editing geospatial data for mapping and GIS.

126 lines (125 loc) 3.38 kB
{ "name": "mapshaper", "version": "0.7.37", "description": "A tool for editing geospatial data for mapping and GIS.", "keywords": [ "shapefile", "topojson", "geojson", "cartography", "simplification", "topology", "csv", "gis" ], "author": "Matthew Bloch <masiyou@gmail.com>", "contributors": [], "license": "MPL-2.0", "repository": { "type": "git", "url": "git+https://github.com/mbloch/mapshaper.git" }, "engines": { "node": ">=20.11.0" }, "scripts": { "test": "mocha --require test/mocha-hooks.mjs test", "build": "rollup --config", "docs": "node build-docs.mjs", "roadmap": "node build-roadmap.mjs", "lint": "eslint --ext mjs src/", "prepublishOnly": "npm test && npm run test:browser && ./pre-publish", "postpublish": "./release_web_ui; ./release_github_version", "dev": "rollup --config --watch", "test:browser": "playwright test --fully-parallel --workers=6", "benchmark:raster": "MAPSHAPER_RUN_BENCHMARKS=1 playwright test browser-tests/raster-resampling-benchmark.spec.mjs --project=chromium --workers=1" }, "main": "./mapshaper.js", "files": [ "/bin/**", "/www/**", "!/www/nacis/**", "/mapshaper.js", "!.DS_Store", "!/www/docs/**", "!/www/llms*", "!/www/ai-config.js" ], "dependencies": { "@bokuweb/zstd-wasm": "^0.0.27", "@ngageoint/geopackage": "^4.2.6", "@placemarkio/tokml": "^0.3.3", "@tmcw/togeojson": "^5.6.0", "@xmldom/xmldom": "^0.8.6", "adm-zip": "^0.5.9", "commander": "^14.0.3", "cookies": "^0.8.0", "d3-color": "3.1.0", "d3-interpolate": "^3.0.1", "d3-scale-chromatic": "3.0.0", "delaunator": "^5.0.0", "fflate": "0.8.2", "flatbush": "^4.6.0", "flatgeobuf": "^4.3.4", "geographiclib-geodesic": "^2.2.0", "geotiff": "^3.0.5", "geotiff-geokeys-to-proj4": "^2024.4.13", "hyparquet": "^1.25.6", "hyparquet-compressors": "^1.1.1", "hyparquet-writer": "^0.14.0", "iconv-lite": "^0.6.3", "idb-keyval": "^6.2.0", "jpeg-js": "^0.4.4", "kdbush": "^3.0.0", "mproj": "0.1.3", "msgpackr": "^1.11.12", "open": "^11.0.0", "pngjs": "^7.0.0", "rw": "~1.3.3", "tinyqueue": "^2.0.3" }, "devDependencies": { "@playwright/test": "^1.59.1", "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.1", "big.js": "^7.0.1", "csv-spectrum": "^1.0.0", "eslint": "^8.16.0", "highlight.js": "^11.11.1", "marked": "^18.0.2", "mocha": "^11.7.6", "rollup": "^4.44.1", "rollup-plugin-polyfill-node": "^0.13.0", "shell-quote": "^1.8.4", "underscore": "^1.13.1" }, "mocha": { "reporter": "dot", "node-option": [ "import=./test/_register.mjs" ], "check-leaks": true, "parallel": true, "jobs": 4 }, "bin": { "mapshaper": "bin/mapshaper", "mapshaper-gui": "bin/mapshaper-gui", "mapshaper-xl": "bin/mapshaper-xl" }, "bugs": { "url": "https://github.com/mbloch/mapshaper/issues" }, "homepage": "https://github.com/mbloch/mapshaper#readme", "directories": { "test": "test" }, "optionalDependencies": { "@rollup/rollup-linux-x64-gnu": "^4.44.1", "better-sqlite3": "^12.10.0" }, "overrides": { "better-sqlite3": "^12.10.0" } }