d3-timer
v1.0.1 d3 d3-module timer transition animation requestAnimationFrame setTimeout setInterval
pretest
rm -rf build && mkdir build && rollup --banner "$(preamble)" -f umd -n d3 -o build/d3-timer.js -- index.js
test
tape 'test/**/*-test.js' && eslint index.js src
prepublish
npm run test && uglifyjs --preamble "$(preamble)" build/d3-timer.js -c -m -o build/d3-timer.min.js
postpublish
VERSION=`node -e 'console.log(require("./package.json").version)'`; git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-timer/build/d3-timer.js d3-timer.v1.js && cp ../d3-timer/build/d3-timer.min.js d3-timer.v1.min.js && git add d3-timer.v1.js d3-timer.v1.min.js && git commit -m "d3-timer ${VERSION}" && git push && cd - && zip -j build/d3-timer.zip -- LICENSE README.md build/d3-timer.js build/d3-timer.min.js
npm i [email protected]
Metadata
- BSD-3-Clause
- Whatever
- Mike Bostock
- released 6/30/2016