Skip to content

Commit

Permalink
Update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Sep 12, 2017
1 parent 35b7c27 commit 1d26184
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"license": "BSD-3-Clause",
"author": {
"name": "Mike Bostock",
"url": "http://bost.ocks.org/mike"
"url": "https://bost.ocks.org/mike"
},
"main": "build/d3-geo.js",
"module": "index",
Expand All @@ -23,9 +23,9 @@
"url": "https://github.com/d3/d3-geo.git"
},
"scripts": {
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -g d3-array:d3 -n d3 -o build/d3-geo.js -- index.js",
"pretest": "rm -rf build && mkdir build && rollup -c --banner \"$(preamble)\"",
"test": "tape 'test/**/*-test.js' && mkdir -p test/output && eslint index.js src",
"prepublish": "npm run test && test/compare-images && uglifyjs --preamble \"$(preamble)\" build/d3-geo.js -c negate_iife=false -m -o build/d3-geo.min.js",
"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": {
Expand All @@ -34,11 +34,11 @@
"devDependencies": {
"canvas": "1",
"d3-format": "1",
"eslint": "3",
"eslint": "4",
"package-preamble": "0.1",
"rollup": "0.41",
"rollup": "0.49",
"tape": "4",
"topojson-client": "3",
"uglify-js": "^2.8.11"
"uglify-js": "3"
}
}
15 changes: 15 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
export default {
input: "index",
external: [
"d3-array"
],
output: {
extend: true,
file: "build/d3-geo.js",
format: "umd",
globals: {
"d3-array": "d3"
},
name: "d3"
}
};

0 comments on commit 1d26184

Please sign in to comment.