JSPM

  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q53081F

Check for dependencies that aren't listed in package.json and asks if you want to add them. Also tells you if packages are listed in package.json but aren't used anywhere. Node.js command line tool and API.

Package Exports

  • lint-deps

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (lint-deps) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

lint-deps NPM version

Node.js command line tool, checks for dependencies that aren't listed in package.json and asks if you want to add them.

Also tells you if packages are listed in package.json but aren't used anywhere.

Install

npm

npm i -g lint-deps

Usage

In the command line:

deps

Exclude directories

Pass a comma-separated list of directories to exclude:

deps -e test,lib

Examples

If packages are missing, you'll see a prompt like this:

image

If you choose yes:

image

choose dependencies

image

choose devDependencies

image

Now hit enter and everything that was checked will be installed.

If you choose no:

image

Done.

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license


This file was generated by verb-cli on May 17, 2014.