grunt-dependencygraph

Visualize your CommonJS or AMD module dependencies.

grunt-dependencygraph

Visualize your CommonJS or AMD module dependencies.

From the same directory as your Gruntfile, run

npm install grunt-dependencygraph

Then add the following line to your Gruntfile:

grunt.loadNpmTasks('grunt-dependencygraph');

You can verify that the task is available by running grunt --help and checking that "dist" is under "Available tasks".