Skip to content

Commit

Permalink
Upgrade d3-bundler.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Nov 4, 2015
1 parent 939cddb commit 7af9af2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "d3-format",
"version": "0.3.3",
"version": "0.3.4",
"description": "Format numbers for human consumption.",
"keywords": [
"d3",
Expand All @@ -12,19 +12,19 @@
"name": "Mike Bostock",
"url": "http://bost.ocks.org/mike"
},
"main": "build/format",
"main": "build/format.cjs",
"jsnext:main": "index",
"repository": {
"type": "git",
"url": "https://github.com/d3/d3-format.git"
},
"scripts": {
"pretest": "mkdir -p build && d3-bundler --format=umd --name=format -- index.js > build/format.js",
"pretest": "mkdir -p build && d3-bundler -x -f cjs -o build/format.cjs.js",
"test": "faucet `find test -name '*-test.js'`",
"prepublish": "npm run test && uglifyjs build/format.js -c -m -o build/format.min.js && rm -f build/format.zip && zip -j build/format.zip -- LICENSE README.md build/format.js build/format.min.js"
"prepublish": "npm run test && d3-bundler -n format -o build/format.js && uglifyjs build/format.js -c -m -o build/format.min.js && rm -f build/format.zip && zip -j build/format.zip -- LICENSE README.md build/format.js build/format.min.js"
},
"devDependencies": {
"d3-bundler": "~0.2.5",
"d3-bundler": "~0.4.0",
"faucet": "0.0",
"tape": "4",
"uglify-js": "2"
Expand Down

0 comments on commit 7af9af2

Please sign in to comment.