dependencyTree currently only displays text, but it would be nice to also be able to output json.
Same with writing to file, I would like to write a json file: dependencyTree/toFile /some/folder/deps.json
The funny thing is dependencyBrowseTreeHTML already creates a target/tree.json which is used as source to display the dependencies in the html/browser. With jq you can format it nicely as well: jq '.' target/tree.json
So in theory as a workaround I can already do what this issue asks to with running dependencyBrowseTreeHTML but it's not obivous.
Making it more explicit with the dependencyTree command as a flag would be nicer IMHO.
Related: