marcello3d / node-licensecheck

A quick way to see the licenses of node modules you depend on—recursively.
zlib License
56 stars 18 forks source link

Extraneous packages when doing npm ls -g with licensecheck installed #21

Closed lorthirk closed 7 years ago

lorthirk commented 7 years ago

Hello all. If I install licensecheck and then do an npm ls -g I get the following packages listed as extraneous:

├─┬ licensecheck@1.2.0
│ ├── colors@1.1.2
│ ├── eslint@3.2.2 extraneous
│ ├── eslint-config-standard@5.3.5 extraneous
│ ├── eslint-plugin-promise@2.0.1 extraneous
│ ├── eslint-plugin-standard@2.0.0 extraneous
│ ├─┬ markdown@0.5.0
│ │ └─┬ nopt@2.1.2
│ │   └── abbrev@1.0.9
│ ├── mocha@3.0.1 extraneous
│ ├── spdx-license-list@2.1.0
│ ├── strip-json-comments@2.0.1
│ └── treeify@1.0.1
npm ERR! extraneous: eslint@3.2.2 /Users/claudio.mezzasalma/.nvm/versions/node/v7.2.1/lib/node_modules/licensecheck/node_modules/eslint
npm ERR! extraneous: eslint-config-standard@5.3.5 /Users/claudio.mezzasalma/.nvm/versions/node/v7.2.1/lib/node_modules/licensecheck/node_modules/eslint-config-standard
npm ERR! extraneous: eslint-plugin-promise@2.0.1 /Users/claudio.mezzasalma/.nvm/versions/node/v7.2.1/lib/node_modules/licensecheck/node_modules/eslint-plugin-promise
npm ERR! extraneous: eslint-plugin-standard@2.0.0 /Users/claudio.mezzasalma/.nvm/versions/node/v7.2.1/lib/node_modules/licensecheck/node_modules/eslint-plugin-standard
npm ERR! extraneous: mocha@3.0.1 /Users/claudio.mezzasalma/.nvm/versions/node/v7.2.1/lib/node_modules/licensecheck/node_modules/mocha