package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "@turf/line-segment",
  3. "version": "7.2.0",
  4. "description": "turf line-segment 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. "keywords": [
  20. "turf",
  21. "line",
  22. "segment"
  23. ],
  24. "type": "module",
  25. "main": "dist/cjs/index.cjs",
  26. "module": "dist/esm/index.js",
  27. "types": "dist/esm/index.d.ts",
  28. "exports": {
  29. "./package.json": "./package.json",
  30. ".": {
  31. "import": {
  32. "types": "./dist/esm/index.d.ts",
  33. "default": "./dist/esm/index.js"
  34. },
  35. "require": {
  36. "types": "./dist/cjs/index.d.cts",
  37. "default": "./dist/cjs/index.cjs"
  38. }
  39. }
  40. },
  41. "sideEffects": false,
  42. "files": [
  43. "dist"
  44. ],
  45. "scripts": {
  46. "bench": "tsx bench.ts",
  47. "build": "tsup --config ../../tsup.config.ts",
  48. "docs": "tsx ../../scripts/generate-readmes.ts",
  49. "test": "npm-run-all --npm-path npm test:*",
  50. "test:tape": "tsx test.ts"
  51. },
  52. "devDependencies": {
  53. "@types/benchmark": "^2.1.5",
  54. "@types/tape": "^4.13.4",
  55. "benchmark": "^2.1.4",
  56. "load-json-file": "^7.0.1",
  57. "npm-run-all": "^4.1.5",
  58. "tape": "^5.9.0",
  59. "tsup": "^8.3.5",
  60. "tsx": "^4.19.2",
  61. "typescript": "^5.5.4",
  62. "write-json-file": "^5.0.0"
  63. },
  64. "dependencies": {
  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. }