UNPKG

d3-canvas-transition

Version:

Animated transitions for D3 selections on svg and canvas

76 lines (75 loc) 2.81 kB
{ "version": "0.3.7", "name": "d3-canvas-transition", "title": "d3-canvas-transition", "description": "Animated transitions for D3 selections on svg and canvas", "homepage": "https://github.com/quantmind/d3-canvas-transition", "repository": { "type": "git", "url": "git+https://github.com/quantmind/d3-canvas-transition.git" }, "keywords": [ "d3", "d3-module", "svg", "canvas", "transition", "animation" ], "license": "BSD-3-Clause", "author": { "name": "quantmind.com", "email": "message@quantmind.com" }, "main": "build/d3-canvas-transition.js", "jsnext:main": "ui/js/main", "module": "ui/js/main", "dependencies": { "d3-collection": "1.0", "d3-color": "1.0", "d3-selection": "1.1", "d3-timer": "1.0" }, "devDependencies": { "babel-preset-es2015": "6.24", "babel-preset-es2015-rollup": "3.0", "babel-tape-runner": "2.0", "babelify": "7.3", "browserify": "14.4", "canvas": "1.6", "d3-axis": "1.0", "d3-dispatch": "1.0", "d3-ease": "1.0", "d3-interpolate": "1.1", "d3-scale": "1.0", "d3-shape": "1.2", "d3-transition": "1.1", "eslint": "4.2", "faucet": "0.0", "jsdom": "9.9", "package-preamble": "0.1", "publish": "0.6", "rollup": "0.45", "rollup-plugin-babel": "2.7", "rollup-plugin-json": "2.3", "rollup-plugin-sourcemaps": "0.4", "tape": "4.7", "uglify-js": "3.0" }, "scripts": { "lint": "eslint index.js rollup.config.js src test", "unit": "babel-tape-runner `find test -name '*-test.js'` | faucet", "test": "npm run-script lint && npm run-script unit", "rollup": "rollup -c --banner \"$(preamble)\"", "minify": "uglifyjs --preamble \"$(preamble)\" build/d3-canvas-transition.js -c -m -o build/d3-canvas-transition.min.js", "build": "npm run-script rollup && npm run-script minify", "prepublish": "npm run-script rollup && npm run-script minify", "postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && mkdir -p ../giottojs.org/latest && mkdir -p ../giottojs.org/d3-canvas-transition/${VERSION} && cp build/* ../giottojs.org/d3-canvas-transition/${VERSION}/ && cp build/* ../giottojs.org/latest/ && cd ../giottojs.org && git add d3-canvas-transition/${VERSION} latest && git commit -a -m \"d3-canvas-transition ${VERSION}\" && git push", "release": "publish" }, "babel": { "presets": [ "es2015" ] } }