0.2.0 • Published 8 years ago

gulp-dependency-visualizer v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

gulp-dependency-visualizer

Build Status NPM version Dependency Status devDependency Status

Install

$ npm install --save-dev gulp-dependency-visualizer

Usage

Example gulpfile.js.

var gulp = require('gulp');
var Visualizer = require('gulp-dependency-visualizer');

gulp.task('visualizer', function () {
  gulp.src('./fixtures/*.js')
    .pipe(Visualizer());
});

gulp.task('default', ['visualizer']);

You have to add dependency definition to target JavaScript files such as following.

bar.js

//@depend baz.js
function Bar() {
  this.message = 'bar';
}

Bar.prototype.echo = function () {
  console.log(this.message);
};

baz.js

function Baz() {
  this.message = 'baz';
}

Baz.prototype.echo = function () {
  console.log(this.message);
};

To see detail, check https://github.com/ysugimoto/js-dependency-visualizer .

License

MIT

0.2.0

8 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.0

10 years ago