UNPKG

@ahamove/polygon-lookup

Version:

A fork from pelias/polygon-lookup with updated dependencies

85 lines 2.06 kB
{ "name": "@ahamove/polygon-lookup", "version": "0.1.3", "author": "vunh", "description": "A fork from pelias/polygon-lookup with updated dependencies", "homepage": "https://github.com/AhaMove/polygon-lookup.git", "license": "MIT", "publishConfig": { "access": "public" }, "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist" ], "scripts": { "prebuild": "rm -rf dist", "build": "tsc", "type-check": "tsc --noEmit", "prepublishOnly": "pnpm build", "test": "pnpm type-check && vitest run", "test:watch": "vitest", "test:ui": "vitest --ui", "test:coverage": "vitest run --coverage", "ci": "pnpm test", "lint": "eslint .", "validate": "pnpm ls" }, "repository": { "type": "git", "url": "https://github.com/AhaMove/polygon-lookup.git" }, "keywords": [ "polygon", "lookup", "intersection", "coarse" ], "engines": { "node": ">=18.0.0", "pnpm": ">=8.0.0" }, "packageManager": "pnpm@10.19.0", "dependencies": { "@turf/boolean-point-in-polygon": "^7.2.0", "@turf/helpers": "^7.2.0", "flatbush": "^4.5.0", "rbush": "4.0.1" }, "devDependencies": { "@types/geojson": "^7946.0.16", "@types/rbush": "^4.0.0", "@typescript-eslint/eslint-plugin": "^8.46.2", "@typescript-eslint/parser": "^8.46.2", "@vitest/ui": "^2.1.8", "eslint": "^8.57.1", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-simple-import-sort": "^12.1.1", "jshint": "^2.13.6", "precommit-hook": "^3.0.0", "prettier": "^3.5.3", "typescript": "^5.9.3", "vitest": "^2.1.8" }, "pre-commit": [ "lint", "type-check", "validate", "test" ], "release": { "success": [] } }