Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

npm-run-graph

klntsky11MIT0.0.2

Visually inspect how npm run scripts depend on each other, using graphviz.

npm, graph, build-tool

readme

npm-run-graph

Sometimes using task runners isn't desired, and we end up adding a lot of fields to the scripts section of a package.json.

This tiny (<50 LOC) script helps to visualize the build process by drawing a graph showing how npm run commands depend on each other.

An example of such a graph for a real-world project:

npm-run-graph.png

Graphviz is a runtime dependency.