Creates gulp tasks that use Graphviz to generate a dependency graph. It's hardcoded to drop a gulp.png
and a
gulp.dot
locally when you run it, but it could be made more configurable and flexible later.
npm install --save-dev gulp-graph
In your gulpfile.js
:
var gulp = require('gulp');
require('gulp-graph')(gulp);
Then run:
gulp graph
Which will generate both a gulp.png
and a gulp.dot
locally.
There are some token mocha tests run when you do:
npm test
Feel free to make pull requests.