package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "@turf/line-slice",
  3. "version": "7.2.0",
  4. "description": "turf line-slice 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. "linestring",
  22. "geojson",
  23. "linear",
  24. "reference",
  25. "line",
  26. "distance"
  27. ],
  28. "type": "module",
  29. "main": "dist/cjs/index.cjs",
  30. "module": "dist/esm/index.js",
  31. "types": "dist/esm/index.d.ts",
  32. "exports": {
  33. "./package.json": "./package.json",
  34. ".": {
  35. "import": {
  36. "types": "./dist/esm/index.d.ts",
  37. "default": "./dist/esm/index.js"
  38. },
  39. "require": {
  40. "types": "./dist/cjs/index.d.cts",
  41. "default": "./dist/cjs/index.cjs"
  42. }
  43. }
  44. },
  45. "sideEffects": false,
  46. "files": [
  47. "dist"
  48. ],
  49. "scripts": {
  50. "bench": "tsx bench.ts",
  51. "build": "tsup --config ../../tsup.config.ts",
  52. "docs": "tsx ../../scripts/generate-readmes.ts",
  53. "test": "npm-run-all --npm-path npm test:*",
  54. "test:tape": "tsx test.ts"
  55. },
  56. "devDependencies": {
  57. "@turf/truncate": "^7.2.0",
  58. "@types/benchmark": "^2.1.5",
  59. "@types/tape": "^4.13.4",
  60. "benchmark": "^2.1.4",
  61. "load-json-file": "^7.0.1",
  62. "npm-run-all": "^4.1.5",
  63. "tape": "^5.9.0",
  64. "tsup": "^8.3.5",
  65. "tsx": "^4.19.2",
  66. "write-json-file": "^5.0.0"
  67. },
  68. "dependencies": {
  69. "@turf/helpers": "^7.2.0",
  70. "@turf/invariant": "^7.2.0",
  71. "@turf/nearest-point-on-line": "^7.2.0",
  72. "@types/geojson": "^7946.0.10"
  73. },
  74. "gitHead": "7b0f0374c4668cd569f8904c71e2ae7d941be867"
  75. }