Use npm's Arborist to get a dependency tree for a package.
github.com/ljharb/get-dep-tree
ljharb/get-dep-tree