Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 647 Bytes

Readme.md

File metadata and controls

56 lines (37 loc) · 647 Bytes

module-requires

Refactor modules by listing obsolete and missplaced dependencies.

Example

$ module-requires .

  obsolete:
  
    - app-builder
    - component
    - autoprefixer
    - component-builder
    - jade
  
  missplacedDeps:
  
    - herd
    - browserify
    - browserijade
    - mkdirp
    - rework
    - rework-pure-css
    - uglify-js
    - jquery-browserify
    - d3
    - moment
    - globalize
    - minify

$ module-requires ./node_modules/*

./node_modules/utils

  obsolete:

    - seq

  missplacedDeps:

    - should

Installation

$ npm install -g module-requires

License

MIT