UNPKG

d3-graphviz

Version:

Graphviz DOT rendering and animated transitions for D3

74 lines (73 loc) 2.17 kB
{ "name": "d3-graphviz", "version": "2.2.2", "description": "Graphviz DOT rendering and animated transitions for D3", "keywords": [ "d3", "d3-module", "Graphviz", "DOT", "graph layout", "animation", "transition", "Viz.js" ], "license": "BSD-3-Clause", "main": "build/d3-graphviz.js", "jsnext:main": "index", "homepage": "https://github.com/magjac/d3-graphviz", "repository": { "type": "git", "url": "https://github.com/magjac/d3-graphviz.git" }, "scripts": { "build": "rm -rf build && mkdir build && rollup -c", "pretest": "npm run build", "test": "env TESTRUNNER='nyc tape' npm run do-test", "do-test": "mkdir -p http:; ln -nsf .. http://dummyhost; $TESTRUNNER 'test/**/*-test.js'", "report": "nyc report --reporter=lcov", "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "prepublishOnly": "env NODE_ENV=production npm run build && TESTRUNNER='tape' npm run do-test && uglifyjs build/d3-graphviz.js -c -m -o build/d3-graphviz.min.js", "publicbuild": "env NODE_ENV=production npm run build", "postpublish": "zip -j build/d3-graphviz.zip -- LICENSE README.md build/d3-graphviz.js build/d3-graphviz.min.js" }, "nyc": { "check-coverage": true, "statements": 99.9, "branches": 99.8, "functions": 100, "lines": 99.9, "reporter": [ "text-summary" ], "cache": true, "report-dir": "./alternative" }, "devDependencies": { "ace-builds": "^1.3.3", "babel-cli": "^6.26.0", "babel-plugin-external-helpers": "^6.22.0", "babel-preset-env": "^1.6.1", "codecov": "^3.0.1", "d3": "^5.0.0", "jsdom": "11.6.2", "markdown-to-html": "0.0.13", "nyc": "^11.7.1", "rollup": "0.46.0", "rollup-plugin-babel": "^3.0.3", "tape": "^4.9.0", "tiny-worker": "^2.1.2", "uglify-es": "^3.0.27" }, "dependencies": { "d3-dispatch": "^1.0.3", "d3-format": "^1.2.0", "d3-interpolate": "^1.1.5", "d3-path": "^1.0.5", "d3-selection": "^1.1.0", "d3-timer": "^1.0.6", "d3-transition": "^1.1.1", "d3-zoom": "^1.5.0", "viz.js": "^1.8.1" } }