Awesome
Learning dependency-cruiser
Just one of the things I'm learning. https://github.com/hchiam/learning
Auto-generate a dependency graph of your project (you can adjust depth).
brew install graphviz
npm install --save-dev dependency-cruiser
# (your code should be inside a folder named src)
depcruise --exclude "^node_modules" --output-type dot src | dot -T svg > dependencygraph.svg
(Or use show_dep_graph.sh)
Now open dependencygraph.svg
in a browser or viewer.