You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

80 lines
2.2 KiB

  1. {
  2. "name": "d3-geo-projection",
  3. "version": "4.0.0",
  4. "description": "Extended geographic projections for d3-geo.",
  5. "homepage": "https://d3js.org/d3-geo-projection/",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/d3/d3-geo-projection.git"
  9. },
  10. "keywords": [
  11. "d3",
  12. "d3-module",
  13. "cartography",
  14. "projection"
  15. ],
  16. "license": "ISC",
  17. "author": {
  18. "name": "Mike Bostock",
  19. "url": "https://bost.ocks.org/mike"
  20. },
  21. "contributors": [
  22. {
  23. "name": "Jason Davies",
  24. "url": "http://www.jasondavies.com"
  25. },
  26. {
  27. "name": "Philippe Rivière",
  28. "url": "https://visionscarto.net"
  29. }
  30. ],
  31. "type": "module",
  32. "files": [
  33. "bin/*.js",
  34. "dist/**/*.js",
  35. "src/**/*.js"
  36. ],
  37. "module": "src/index.js",
  38. "main": "src/index.js",
  39. "jsdelivr": "dist/d3-geo-projection.min.js",
  40. "unpkg": "dist/d3-geo-projection.min.js",
  41. "exports": {
  42. "umd": "./dist/d3-geo-projection.min.js",
  43. "default": "./src/index.js"
  44. },
  45. "sideEffects": false,
  46. "dependencies": {
  47. "commander": "7",
  48. "d3-array": "1 - 3",
  49. "d3-geo": "1.12.0 - 3"
  50. },
  51. "devDependencies": {
  52. "canvas": "2",
  53. "d3-format": "1 - 3",
  54. "eslint": "7",
  55. "mocha": "9",
  56. "pixelmatch": "5",
  57. "pngjs": "4",
  58. "rollup": "2",
  59. "rollup-plugin-terser": "7",
  60. "topojson-client": "3",
  61. "us-atlas": "1",
  62. "world-atlas": "1"
  63. },
  64. "scripts": {
  65. "test": "mocha 'test/**/*-test.js' && eslint src test",
  66. "prepublishOnly": "rm -rf dist && yarn test && rollup -c && git push",
  67. "postpublish": "git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v${npm_package_version%%.*}.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git add ${npm_package_name}.v${npm_package_version%%.*}.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd -"
  68. },
  69. "engines": {
  70. "node": ">=12"
  71. },
  72. "bin": {
  73. "geo2svg": "bin/geo2svg.js",
  74. "geograticule": "bin/geograticule.js",
  75. "geoproject": "bin/geoproject.js",
  76. "geoquantize": "bin/geoquantize.js",
  77. "geostitch": "bin/geostitch.js"
  78. }
  79. }