@maplat/edgeruler
Version:
A small library for dual-constraining a Delaunator triangulation
91 lines • 2.85 kB
JSON
{
"name": "@maplat/edgeruler",
"private": false,
"publishConfig": {
"access": "public"
},
"version": "0.2.1",
"description": "A small library for dual-constraining a Delaunator triangulation",
"type": "module",
"main": "./dist/maplat_edgeruler.cjs",
"module": "./dist/maplat_edgeruler.js",
"browser": "./dist/maplat_edgeruler.umd.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/maplat_edgeruler.js",
"require": "./dist/maplat_edgeruler.cjs",
"browser": "./dist/maplat_edgeruler.umd.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"src",
"README.md"
],
"scripts": {
"dev": "vite",
"build": "tsc && cross-env BUILD_MODE=package vite build",
"deploy": "cp public/*.html ./ && tsc && vite build",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint": "eslint src tests",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run lint && npm run typecheck && npm run test && npm run build",
"version:bump": "node scripts/bump-version.js",
"version:sync": "node scripts/sync-version.js",
"publish:npm": "node scripts/publish-npm.js",
"publish:npm:dry": "node scripts/publish-npm.js --dry-run",
"publish:deno": "node scripts/publish-deno.js",
"publish:deno:dry": "node scripts/publish-deno.js --dry-run",
"publish:all": "node scripts/publish-all.js",
"publish:all:dry": "node scripts/publish-all.js --dry-run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/code4history/MaplatEdgeRuler.git"
},
"author": "Code for History",
"license": "MIT",
"bugs": {
"url": "https://github.com/code4history/MaplatEdgeRuler/issues"
},
"homepage": "https://github.com/code4history/MaplatEdgeRuler#readme",
"keywords": [
"triangulation",
"GIS",
"Maplat",
"Delaunator",
"edge",
"constrain"
],
"peerDependencies": {
"delaunator": "^5.0.0"
},
"dependencies": {
"robust-predicates": "^3.0.1"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@testing-library/jest-dom": "^6.6.3",
"@types/delaunator": "^5.0.0",
"@types/node": "^22.10.2",
"@types/robust-segment-intersect": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"@vitest/coverage-v8": "^1.6.0",
"cross-env": "^7.0.3",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"jest-matcher-deep-close-to": "^3.0.2",
"jsdom": "^25.0.1",
"prettier": "^3.4.2",
"robust-segment-intersect": "^1.0.1",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.4.0",
"vitest": "^1.6.0"
}
}