check-dependencies-except-peer

Ensure that your package-lock matches your package and is self-consistent, and ignore missing peerDependencies

Usage no npm install needed!

<script type="module">
  import checkDependenciesExceptPeer from 'https://cdn.skypack.dev/check-dependencies-except-peer';
</script>

README

check-dependencies-except-peer

Ensure that your package-lock matches your package and is self-consistent, and ignore missing peerDependencies

oclif Version Downloads/week License

Usage

USAGE
  $ check-dependencies-except-peer [DIRECTORY]

ARGUMENTS
  DIRECTORY  [default: PWD] path to the root of the module to check, defaults to the working
             directory

OPTIONS
  -D, --dev          whether to include development dependencies (default both)
  -P, --prod         whether to include production dependencies (default both)
  -h, --help         show CLI help
  -i, --ignore-peer  whether to ignore peer dependencies
  -v, --version      show CLI version

DESCRIPTION
  Scans the lockfile and installed dependencies for inconsistencies. Ignores peer dependency
  violations by default.