How do I see installed dependencies?

Đăng Khánh

New member
How do I see installed dependencies?
Answer
Use the
npm list
to show the installed packages in the current project as a dependency tree. Use npm list –depth=n to show the dependency tree with a specified depth. Use npm list –prod to show packages in the dependencies . Use npm list –dev to show packages in the devDependencies .
 

Tìm kiếm

Back
Top