wiredep-cli
Wiredep CLI interface
Getting Started
Install the module with npm:
$ npm install --save wiredep-cli
Command Line
Install wiredep globally to wire up Bower packages from the terminal.
$ npm install -g wiredep
$ wiredep
Wire Bower dependencies to your source code.
Usage: $ wiredep [options]
Options:
-h, --help
-v, --version
-b, --bowerJson
-d, --directory
-e, --exclude
-i, --ignorePath
-s, --src
--dependencies
--devDependencies
--includeSelf
--verbose
Bower Hooks
You may also take advantage of Bower >=1.3.1's hooks, with a .bowerrc
such as:
{
"scripts": {
"postinstall": "wiredep -s path/to/src.html"
}
}
Configuration
See Wiredep for the available options
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using npm test
.
License
Copyright (c) 2016 Stephen Sawchuk. Licensed under the MIT license.