d3-brush
v0.2.3 d3 d3-module brush interaction
pretest
rm -rf build && mkdir build && rollup --banner "$(preamble)" -g d3-dispatch:d3,d3-drag:d3,d3-interpolate:d3,d3-selection:d3,d3-transition:d3 -f umd -n d3 -o build/d3-brush.js -- index.js
test
tape 'test/**/*-test.js' && eslint index.js src
prepublish
npm run test && uglifyjs --preamble "$(preamble)" build/d3-brush.js -c -m -o build/d3-brush.min.js
postpublish
VERSION=`node -e 'console.log(require("./package.json").version)'`; git push && git push --tags && cp build/d3-brush.js ../d3.github.com/d3-brush.v0.2.js && cp build/d3-brush.min.js ../d3.github.com/d3-brush.v0.2.min.js && cd ../d3.github.com && git add d3-brush.v0.2.js d3-brush.v0.2.min.js && git commit -m "d3-brush ${VERSION}" && git push && cd - && zip -j build/d3-brush.zip -- LICENSE README.md build/d3-brush.js build/d3-brush.min.js
npm i [email protected]
Metadata
- BSD-3-Clause
- Whatever
- Mike Bostock
- released 6/19/2016