Sample implementation of a bower pluggable resolver.
Bower resolver designed to illustrate best practices. This simple resolver only supports the following two commands:
bower install example://apple
bower install ex://apple
Ok, so the example "apple" component isn't that interesting. This effort is meant to create a concise implementation of the bower Pluggable Resolver architecture.
There are two steps for bower pluggable resolver installation.
First, install this package globally with:
npm install -g example-bower-resolver
Second, configure the .bowerrc
file to use this resolver:
{
"resolvers" : [
"example-bower-resolver"
]
}
Exercise the resolver with:
bower install ex://apple
Run the mocha tests with:
npm test
Run the coverage analysis with coveralls:
npm run coverage
npm run coverage-cleanup