Published: January 12, 2023
npm ls you can list the dependencies. Adding
--all to see the nested dependency tree. You can also use
--omit to omit dev dependencies.
npm ls --all --omit dev
You can also find the tree for a given package:
npm ls @vue/reactivity