Running dependo from within a grunt task.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
tasks
.gitignore
Gruntfile.js
LICENSE
README.md
package.json

README.md

grunt-dependo

Visualize your CommonJS or AMD module dependencies in a force directed graph using D3.js.

Install

npm install grunt-dependo

Task Example

        dependo: {
            main: {
                fileName: 'main.html',
                targetPath: './example-multipage/www'
            },
            secondarylib: {
                fileName : 'secondarylib.html',
                targetPath: './js/'
            },
            options: {
                outputPath: './',
                fileName : 'dependencies.html',
                format: 'amd'
            }
        }