d3-array
v0.7.1 d3 histogram bisect shuffle statistics search sort array
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 -n d3_array -o build/d3-array.js -- build/bundle.js
test
faucet `find test -name '*-test.js'` && eslint index.js src
prepublish
npm run test && uglifyjs build/d3-array.js -c -m -o build/d3-array.min.js && rm -f build/d3-array.zip && zip -j build/d3-array.zip -- LICENSE README.md build/d3-array.js build/d3-array.min.js
postpublish
VERSION=`node -e 'console.log(require("./package.json").version)'`; git push && git tag -am "Release $VERSION." v${VERSION} && git push --tags && cp build/d3-array.js ../d3.github.com/d3-array.v0.7.js && cp build/d3-array.min.js ../d3.github.com/d3-array.v0.7.min.js && cd ../d3.github.com && git add d3-array.v0.7.js d3-array.v0.7.min.js && git commit -m "d3-array ${VERSION}" && git push
npm i [email protected]
Metadata
- BSD-3-Clause
- Whatever
- Mike Bostock
- released 1/29/2016