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 504509a commit 7c7e7c8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "d3-interpolate",
"version": "0.1.3",
"version": "0.1.4",
"description": "Interpolate numbers, colors, strings, arrays, objects, whatever!",
"keywords": [
"d3",
Expand All @@ -13,23 +13,23 @@
"name": "Mike Bostock",
"url": "http://bost.ocks.org/mike"
},
"main": "build/interpolate.cjs",
"main": "build/d3-interpolate.js",
"jsnext:main": "index",
"repository": {
"type": "git",
"url": "https://github.com/d3/d3-interpolate.git"
},
"scripts": {
"pretest": "mkdir -p build && d3-bundler -x -f cjs -o build/interpolate.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 -g d3-color:d3_color -u d3-interpolate -n d3_interpolate -o build/d3-interpolate.js -- build/bundle.js",
"test": "faucet `find test -name '*-test.js'`",
"prepublish": "npm run test && d3-bundler -n interpolate -o build/interpolate.js && uglifyjs build/interpolate.js -c -m -o build/interpolate.min.js && rm -f build/interpolate.zip && zip -j build/interpolate.zip -- LICENSE README.md build/interpolate.js build/interpolate.min.js"
"prepublish": "npm run test && uglifyjs build/d3-interpolate.js -c -m -o build/d3-interpolate.min.js && rm -f build/d3-interpolate.zip && zip -j build/d3-interpolate.zip -- LICENSE README.md build/d3-interpolate.js build/d3-interpolate.min.js"
},
"dependencies": {
"d3-color": "~0.2.7"
"d3-color": "~0.2.8"
},
"devDependencies": {
"d3-bundler": "~0.4.0",
"faucet": "0.0",
"rollup": "0.20.5",
"tape": "4",
"uglify-js": "2"
}
Expand Down

0 comments on commit 7c7e7c8

Please sign in to comment.