package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "topojson-client",
  3. "version": "3.1.0",
  4. "description": "Manipulate TopoJSON and convert it to GeoJSON.",
  5. "keywords": [
  6. "topojson",
  7. "topology",
  8. "geojson"
  9. ],
  10. "homepage": "https://github.com/topojson/topojson-client",
  11. "license": "ISC",
  12. "author": {
  13. "name": "Mike Bostock",
  14. "url": "https://bost.ocks.org/mike"
  15. },
  16. "main": "dist/topojson-client.js",
  17. "unpkg": "dist/topojson-client.min.js",
  18. "jsdelivr": "dist/topojson-client.min.js",
  19. "module": "src/index.js",
  20. "repository": {
  21. "type": "git",
  22. "url": "https://github.com/topojson/topojson-client.git"
  23. },
  24. "bin": {
  25. "topo2geo": "bin/topo2geo",
  26. "topomerge": "bin/topomerge",
  27. "topoquantize": "bin/topoquantize"
  28. },
  29. "files": [
  30. "bin/topo*",
  31. "dist/**/*.js",
  32. "src/**/*.js"
  33. ],
  34. "scripts": {
  35. "pretest": "rollup -c",
  36. "test": "tape 'test/**/*-test.js' && eslint src test",
  37. "prepublishOnly": "rm -rf dist && yarn test",
  38. "postpublish": "git push && git push --tags && zip -j dist/${npm_package_name}.zip -- LICENSE README.md dist/${npm_package_name}.js dist/${npm_package_name}.min.js"
  39. },
  40. "dependencies": {
  41. "commander": "2"
  42. },
  43. "devDependencies": {
  44. "eslint": "6",
  45. "rollup": "1",
  46. "rollup-plugin-terser": "5",
  47. "tape": "4"
  48. }
  49. }