@maplat/transform
Version:
A JavaScript library that performs coordinate transformation between two plane coordinate systems using transformation definitions generated by Maplat.
88 lines (87 loc) • 2.84 kB
JSON
{
"name": "@maplat/transform",
"private": false,
"publishConfig": {
"access": "public"
},
"version": "0.2.3",
"description": "A JavaScript library that performs coordinate transformation between two plane coordinate systems using transformation definitions generated by Maplat.",
"type": "module",
"main": "./dist/maplat_transform.cjs",
"module": "./dist/maplat_transform.js",
"browser": "./dist/maplat_transform.umd.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/maplat_transform.js",
"require": "./dist/maplat_transform.cjs",
"browser": "./dist/maplat_transform.umd.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"src",
"README.md"
],
"scripts": {
"dev": "vite",
"build": "npm run typecheck && cross-env BUILD_MODE=package vite build",
"typecheck": "tsc --noEmit --allowImportingTsExtensions",
"deploy": "cp public/*.html ./ && tsc && vite build",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint": "eslint src tests",
"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/MaplatTransform.git"
},
"author": "Code for History",
"license": "Maplat Limited License 1.1",
"bugs": {
"url": "https://github.com/code4history/MaplatTransform/issues"
},
"homepage": "https://github.com/code4history/MaplatTransform/wiki",
"keywords": [
"projection",
"GIS",
"Maplat",
"MaplatTransform"
],
"peerDependencies": {},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@testing-library/jest-dom": "^6.6.3",
"@types/geojson": "^7946.0.15",
"@types/node": "^22.10.2",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"@vitest/coverage-v8": "^3.2.4",
"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",
"typescript": "^5.7.2",
"vite": "^6.3.5",
"vite-plugin-dts": "^4.4.0",
"vitest": "^3.2.4"
},
"dependencies": {
"@turf/boolean-point-in-polygon": "^7.2.0",
"@turf/helpers": "7.2.0",
"@turf/invariant": "^7.2.0"
}
}