Steve Bennett
Steve Bennett

Reputation: 126195

Don't show complete NPM dependency list after installation

I recently upgraded to the latest NPM on OSX. After running npm install within a package, it dumps what appears to be a complete dependency list to the terminal:

Truncated dependency output

It's similar to the output from npm list but with different colouring.

Is there a way to disable this behaviour? It's pretty annoying, and of no value. For our package, it's nearly 900 lines of output. Complete output here.

Upvotes: 2

Views: 209

Answers (1)

arjun kori
arjun kori

Reputation: 1120

Try this npm ls --depth=0 for local package. and for global dependencies npm -g ls --depth=0

Upvotes: 1

Related Questions