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 7226ee9 commit 6d15e01
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,22 @@
"name": "Mike Bostock",
"url": "http://bost.ocks.org/mike"
},
"main": "build/shape",
"main": "build/shape.cjs",
"jsnext:main": "index",
"repository": {
"type": "git",
"url": "https://github.com/d3/d3-shape.git"
},
"scripts": {
"pretest": "mkdir -p build && d3-bundler --polyfill-map --format=umd --name=shape -- index.js > build/shape.js",
"pretest": "mkdir -p build && d3-bundler -x -f cjs -o build/shape.cjs.js",
"test": "faucet `find test -name '*-test.js'`",
"prepublish": "npm run test && uglifyjs build/shape.js -c -m -o build/shape.min.js && rm -f build/shape.zip && zip -j build/shape.zip -- LICENSE README.md build/shape.js build/shape.min.js"
"prepublish": "npm run test && d3-bundler -n shape -o build/shape.js && uglifyjs build/shape.js -c -m -o build/shape.min.js && rm -f build/shape.zip && zip -j build/shape.zip -- LICENSE README.md build/shape.js build/shape.min.js"
},
"dependencies": {
"d3-path": "~0.0.1"
},
"devDependencies": {
"d3-bundler": "~0.2.5",
"d3-path": "~0.0.1",
"d3-bundler": "~0.4.0",
"faucet": "0.0",
"tape": "4",
"uglify-js": "2"
Expand Down

0 comments on commit 6d15e01

Please sign in to comment.