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 c2a07ec commit 1ca359f
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-arrays",
"version": "0.3.0",
"version": "0.3.1",
"description": "Array manipulation, ordering, searching, summarizing, etc.",
"keywords": [
"d3",
Expand All @@ -15,20 +15,20 @@
"name": "Mike Bostock",
"url": "http://bost.ocks.org/mike"
},
"main": "build/arrays.cjs",
"main": "build/d3-arrays.js",
"jsnext:main": "index",
"repository": {
"type": "git",
"url": "https://github.com/d3/d3-arrays.git"
},
"scripts": {
"pretest": "mkdir -p build && d3-bundler -x -f cjs -o build/arrays.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-arrays -n d3_arrays -o build/d3-arrays.js -- build/bundle.js",
"test": "faucet `find test -name '*-test.js'`",
"prepublish": "npm run test && d3-bundler -n arrays -o build/arrays.js && uglifyjs build/arrays.js -c -m -o build/arrays.min.js && rm -f build/arrays.zip && zip -j build/arrays.zip -- LICENSE README.md build/arrays.js build/arrays.min.js"
"prepublish": "npm run test && uglifyjs build/d3-arrays.js -c -m -o build/d3-arrays.min.js && rm -f build/d3-arrays.zip && zip -j build/d3-arrays.zip -- LICENSE README.md build/d3-arrays.js build/d3-arrays.min.js"
},
"devDependencies": {
"d3-bundler": "~0.4.0",
"faucet": "0.0",
"rollup": "0.20.5",
"seedrandom": "2",
"tape": "4",
"uglify-js": "2"
Expand Down

0 comments on commit 1ca359f

Please sign in to comment.