Skip to content

Commit

Permalink
Use Rollup.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Nov 11, 2015
1 parent 1a9a4fb commit 3bd4174
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-selection",
"version": "0.4.11",
"version": "0.4.12",
"description": "Data-driven DOM manipulation: select elements and join them to data.",
"keywords": [
"d3",
Expand All @@ -14,20 +14,20 @@
"name": "Mike Bostock",
"url": "http://bost.ocks.org/mike"
},
"main": "build/selection.cjs",
"main": "build/d3-selection.js",
"jsnext:main": "index",
"repository": {
"type": "git",
"url": "https://github.com/d3/d3-selection.git"
},
"scripts": {
"pretest": "mkdir -p build && d3-bundler -x -f cjs -o build/selection.cjs.js",
"pretest": "mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -u d3-selection -n d3_selection -o build/d3-selection.js -- build/bundle.js",
"test": "faucet `find test -name '*-test.js'`",
"prepublish": "npm run test && d3-bundler -n selection -o build/selection.js && uglifyjs build/selection.js -c -m -o build/selection.min.js && rm -f build/selection.zip && zip -j build/selection.zip -- LICENSE README.md build/selection.js build/selection.min.js"
"prepublish": "npm run test && uglifyjs build/d3-selection.js -c -m -o build/d3-selection.min.js && rm -f build/d3-selection.zip && zip -j build/d3-selection.zip -- LICENSE README.md build/d3-selection.js build/d3-selection.min.js"
},
"devDependencies": {
"d3-bundler": "~0.4.2",
"faucet": "0.0",
"rollup": "0.20.5",
"jsdom": "7",
"tape": "4",
"uglify-js": "2"
Expand Down

0 comments on commit 3bd4174

Please sign in to comment.