diff --git a/package.json b/package.json index f1932ca..49a37b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "d3-scale", - "version": "0.1.4", + "version": "0.1.5", "description": "Encodings that map abstract data to visual representation.", "keywords": [ "d3", @@ -13,28 +13,28 @@ "name": "Mike Bostock", "url": "http://bost.ocks.org/mike" }, - "main": "build/scale.cjs", + "main": "build/d3-scale.js", "jsnext:main": "index", "repository": { "type": "git", "url": "https://github.com/d3/d3-scale.git" }, "scripts": { - "pretest": "mkdir -p build && d3-bundler -x -f cjs -o build/scale.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-arrays:d3_arrays,d3-color:d3_color,d3-format:d3_format,d3-interpolate:d3_interpolate,d3-time:d3_time,d3-time-format:d3_time_format -u d3-scale -n d3_scale -o build/d3-scale.js -- build/bundle.js", "test": "TZ=America/Los_Angeles faucet `find test -name '*-test.js'`", - "prepublish": "npm run test && d3-bundler -n scale -o build/scale.js && uglifyjs build/scale.js -c -m -o build/scale.min.js && rm -f build/scale.zip && zip -j build/scale.zip -- LICENSE README.md build/scale.js build/scale.min.js" + "prepublish": "npm run test && uglifyjs build/d3-scale.js -c -m -o build/d3-scale.min.js && rm -f build/d3-scale.zip && zip -j build/d3-scale.zip -- LICENSE README.md build/d3-scale.js build/d3-scale.min.js" }, "dependencies": { - "d3-arrays": "~0.1.1", - "d3-color": "~0.2.6", - "d3-format": "~0.3.3", - "d3-interpolate": "~0.1.2", - "d3-time": "~0.0.5", - "d3-time-format": "~0.1.3" + "d3-arrays": "~0.3.1", + "d3-color": "~0.2.8", + "d3-format": "~0.3.6", + "d3-interpolate": "~0.1.4", + "d3-time": "~0.0.7", + "d3-time-format": "~0.1.5" }, "devDependencies": { "faucet": "0.0", - "d3-bundler": "0.4", + "rollup": "0.20.5", "tape": "4", "uglify-js": "2" }