summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorPirate Praveen <praveen@debian.org>2017-10-09 11:57:35 +0530
committerPirate Praveen <praveen@debian.org>2017-10-09 11:57:35 +0530
commit3db5c79f87119a5b46ab63cbfa6050700a978117 (patch)
treece0bc40cb6a86a7c0e20c6c9cbde83e18b1d9c44 /package.json
Import Upstream version 1.9.0
Diffstat (limited to 'package.json')
-rw-r--r--package.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..cbe912b
--- /dev/null
+++ b/package.json
@@ -0,0 +1,44 @@
+{
+ "name": "d3-geo",
+ "version": "1.9.0",
+ "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.50",
+ "tape": "4",
+ "topojson-client": "3",
+ "uglify-js": "3"
+ }
+}