[improvement] Run directly dep-tree via npx
maxlerebourg opened this issue · 2 comments
maxlerebourg commented
To avoid having dep-tree
inside our dependencies, try to deploy it and have a global script associated.
https://github.com/Haimantika/introduction-npm-package to know how to do it.
gabotechs commented
will look into this, thanks!
gabotechs commented
I've looked into it and it's actually possible right now, but the package in npm is not called just dep-tree
(the name was chosen), it's called @dep-tree/cli
, so you can run it using it's npm package name:
npx @dep-tree/cli