d3-contour

v1.3.0
Compute contour polygons using marching squares.
d3 d3-module contour isoline

pretest

rm -rf dist && mkdir dist && rollup -c --banner "$(preamble)"

test

tape 'test/**/*-test.js' && eslint index.js src

prepublishOnly

npm run test && uglifyjs -b beautify=false,preamble="'$(preamble)'" dist/d3-contour.js -c -m -o dist/d3-contour.min.js

postpublish

git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-contour/dist/d3-contour.js d3-contour.v1.js && cp ../d3-contour/dist/d3-contour.min.js d3-contour.v1.min.js && git add d3-contour.v1.js d3-contour.v1.min.js && git commit -m "d3-contour ${npm_package_version}" && git push && cd - && zip -j dist/d3-contour.zip -- LICENSE README.md dist/d3-contour.js dist/d3-contour.min.js

Metadata

Downloads

Maintainers