package.json 1.8 KB

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