45 lines
1.5 KiB
JSON
45 lines
1.5 KiB
JSON
{
|
|
"name": "d3-geo",
|
|
"version": "1.7.1",
|
|
"description": "Shapes and calculators for spherical coordinates.",
|
|
"keywords": [
|
|
"d3",
|
|
"d3-module",
|
|
"geo",
|
|
"maps",
|
|
"cartography"
|
|
],
|
|
"homepage": "https://d3js.org/d3-geo/",
|
|
"license": "BSD-3-Clause",
|
|
"author": {
|
|
"name": "Mike Bostock",
|
|
"url": "https://bost.ocks.org/mike"
|
|
},
|
|
"main": "build/d3-geo.js",
|
|
"module": "index",
|
|
"jsnext:main": "index",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/d3/d3-geo.git"
|
|
},
|
|
"scripts": {
|
|
"pretest": "rm -rf build && mkdir build && rollup -c --banner \"$(preamble)\"",
|
|
"test": "tape 'test/**/*-test.js' && mkdir -p test/output && eslint index.js src",
|
|
"prepublishOnly": "npm run test && test/compare-images && uglifyjs -b beautify=false,preamble=\"'$(preamble)'\" build/d3-geo.js -c -m -o build/d3-geo.min.js",
|
|
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-geo/build/d3-geo.js d3-geo.v1.js && cp ../d3-geo/build/d3-geo.min.js d3-geo.v1.min.js && git add d3-geo.v1.js d3-geo.v1.min.js && git commit -m \"d3-geo ${npm_package_version}\" && git push && cd - && zip -j build/d3-geo.zip -- LICENSE README.md build/d3-geo.js build/d3-geo.min.js"
|
|
},
|
|
"dependencies": {
|
|
"d3-array": "1"
|
|
},
|
|
"devDependencies": {
|
|
"canvas": "1",
|
|
"d3-format": "1",
|
|
"eslint": "4",
|
|
"package-preamble": "0.1",
|
|
"rollup": "0.49",
|
|
"tape": "4",
|
|
"topojson-client": "3",
|
|
"uglify-js": "3"
|
|
}
|
|
}
|