I have gotten the opportunity to work with Lattix in the past. I believe the paradigm it represents (a hierarchical dependency matrix) is the future of large-scale system a
For a simple project, I found MaDGe - Module Dependency Graph.
Install with npm
npm -g install madge
List dependencies of all *.js files in directory src
madge path/src
Find circular dependencies of a particular file app.js
madge --circular path/src/app.js
There's also a graphing functionality, but I don't have that up and running yet.