This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3k
npm ls --production #2853
Labels
Comments
+1. |
After reading npm ls code, and isaacs/read-installed, it seems to me I should add a fourth argument to readInstalled: function readInstalled (folder, depth, env, cb) {
...
} Because readInstalled does not have access to npm.config.get("production"). Or I could re-read (already done in readInstalled), package.json and filter readInstalled on devDependencies.
|
This was referenced Mar 6, 2015
Maybe this issue can close by #7413 |
yep |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, could
npm ls
works with --production --dev flags?The text was updated successfully, but these errors were encountered: