package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "name": "point-in-polygon-hao",
  3. "version": "1.2.4",
  4. "type": "module",
  5. "description": "A point in polygon based on the paper Optimal Reliable Point-in-Polygon Test and Differential Coding Boolean Operations on Polygons",
  6. "main": "dist/cjs/index.cjs",
  7. "module": "dist/esm/index.js",
  8. "types": "dist/esm/index.d.ts",
  9. "unpkg": "dist/pointInPolygon.min.js",
  10. "jsdelivr": "dist/pointInPolygon.min.js",
  11. "scripts": {
  12. "bench": "npm run build && node test/bench.js",
  13. "build": "rollup -c",
  14. "test": "vitest"
  15. },
  16. "exports": {
  17. ".": {
  18. "import": "./dist/esm/index.js",
  19. "require": "./dist/cjs/index.cjs"
  20. }
  21. },
  22. "files": [
  23. "dist"
  24. ],
  25. "dependencies": {
  26. "robust-predicates": "^3.0.2"
  27. },
  28. "devDependencies": {
  29. "@rollup/plugin-buble": "^1.0.3",
  30. "@rollup/plugin-node-resolve": "^15.3.0",
  31. "@rollup/plugin-terser": "^0.4.4",
  32. "benchmark": "^2.1.4",
  33. "eslint": "^5.15.3",
  34. "eslint-config-mourner": "^3.0.0",
  35. "esm": "^3.2.20",
  36. "load-json-file": "^5.2.0",
  37. "point-in-polygon": "^1.0.1",
  38. "robust-point-in-polygon": "^1.0.3",
  39. "rollup": "^4.28.0",
  40. "rollup-plugin-copy": "^3.5.0",
  41. "vitest": "^2.1.6"
  42. },
  43. "keywords": [
  44. "point-in-polygon",
  45. "pip",
  46. "point",
  47. "polygon",
  48. "inside"
  49. ],
  50. "author": "Rowan Winsemius",
  51. "license": "MIT",
  52. "repository": {
  53. "type": "git",
  54. "url": "git+https://github.com/rowanwins/point-in-polygon-hao.git"
  55. },
  56. "homepage": "https://github.com/rowanwins/point-in-polygon-hao"
  57. }