From 1c213a519f9cfd593cc3a90cd256a1b678305a68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Rivi=C3=A8re?= Date: Sun, 3 Sep 2017 11:22:34 +0200 Subject: [PATCH] follow https://github.com/d3/d3/issues/3138 --- package.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ce0f5e4..9f5c9d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "d3-geo-voronoi", - "version": "0.0.3", + "version": "0.0.4", "description": "Spherical Voronoi Diagram and Delaunay Triangulation", "keywords": [ "d3", @@ -10,6 +10,8 @@ ], "license": "MIT", "main": "build/d3-geo-voronoi.js", + "unpkg": "build/d3-geo-voronoi.js", + "jsdelivr": "build/d3-geo-voronoi.js", "module": "index", "jsnext:main": "index", "homepage": "https://github.com/Fil/d3-geo-voronoi", @@ -30,7 +32,7 @@ "scripts": { "pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -g d3-array:d3,d3-collection:d3,d3-geo:d3,d3-voronoi:d3 -f umd -n d3 -o build/d3-geo-voronoi.js -- index.js", "test": "tape 'test/**/*-test.js'", - "prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-geo-voronoi.js -c negate_iife=false -m -o build/d3-geo-voronoi.min.js", + "prepublishOnly": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-geo-voronoi.js -c negate_iife=false -m -o build/d3-geo-voronoi.min.js", "postpublish": "zip -j build/d3-geo-voronoi.zip -- LICENSE README.md build/d3-geo-voronoi.js build/d3-geo-voronoi.min.js" }, "dependencies": { @@ -41,8 +43,8 @@ }, "devDependencies": { "package-preamble": "0.1", - "rollup": "0.41", - "tape": "^4", - "uglify-js": "^2" + "rollup": "0.49", + "tape": "4", + "uglify-js": "32" } }