node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

bower-clean

Remove files (e.g. docs, tests, etc.) from installed bower component. For matching it uses minimatch.

Remove files (e.g. docs, tests, etc.) from installed bower component. For matching it uses minimatch.

{
  "name": "app",
  "ignore": [
    "**/.*",
    "node_modules",
    "test",
    "tests"
  ],
  "dependencies": {
    "jquery": "1.11.0",
    "underscore": "1.5.2"
  },
  "dependenciesIgnore": {
    "jquery": [ "!**/jquery.js" ],
    "underscore": [ "!**/underscore.js" ]
  }
}
npm install -g bower-clean
bower-clean --help
bower-clean --dryRun
bower-clean