package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "@turf/nearest-point-on-line",
  3. "version": "7.2.0",
  4. "description": "turf nearest-point-on-line module",
  5. "author": "Turf Authors",
  6. "license": "MIT",
  7. "bugs": {
  8. "url": "https://github.com/Turfjs/turf/issues"
  9. },
  10. "homepage": "https://github.com/Turfjs/turf",
  11. "repository": {
  12. "type": "git",
  13. "url": "git://github.com/Turfjs/turf.git"
  14. },
  15. "funding": "https://opencollective.com/turf",
  16. "publishConfig": {
  17. "access": "public"
  18. },
  19. "type": "module",
  20. "main": "dist/cjs/index.cjs",
  21. "module": "dist/esm/index.js",
  22. "types": "dist/esm/index.d.ts",
  23. "exports": {
  24. "./package.json": "./package.json",
  25. ".": {
  26. "import": {
  27. "types": "./dist/esm/index.d.ts",
  28. "default": "./dist/esm/index.js"
  29. },
  30. "require": {
  31. "types": "./dist/cjs/index.d.cts",
  32. "default": "./dist/cjs/index.cjs"
  33. }
  34. }
  35. },
  36. "sideEffects": false,
  37. "files": [
  38. "dist"
  39. ],
  40. "scripts": {
  41. "bench": "tsx bench.ts",
  42. "build": "tsup --config ../../tsup.config.ts",
  43. "docs": "tsx ../../scripts/generate-readmes.ts",
  44. "test": "npm-run-all --npm-path npm test:*",
  45. "test:tape": "tsx test.ts",
  46. "test:types": "tsc --esModuleInterop --module node16 --moduleResolution node16 --noEmit --strict types.ts"
  47. },
  48. "devDependencies": {
  49. "@turf/along": "^7.2.0",
  50. "@turf/length": "^7.2.0",
  51. "@turf/truncate": "^7.2.0",
  52. "@types/benchmark": "^2.1.5",
  53. "@types/tape": "^4.13.4",
  54. "benchmark": "^2.1.4",
  55. "load-json-file": "^7.0.1",
  56. "npm-run-all": "^4.1.5",
  57. "tape": "^5.9.0",
  58. "tsup": "^8.3.5",
  59. "tsx": "^4.19.2",
  60. "typescript": "^5.5.4",
  61. "write-json-file": "^5.0.0"
  62. },
  63. "dependencies": {
  64. "@turf/distance": "^7.2.0",
  65. "@turf/helpers": "^7.2.0",
  66. "@turf/invariant": "^7.2.0",
  67. "@turf/meta": "^7.2.0",
  68. "@types/geojson": "^7946.0.10",
  69. "tslib": "^2.8.1"
  70. },
  71. "gitHead": "7b0f0374c4668cd569f8904c71e2ae7d941be867"
  72. }