0.0.1 • Published 8 years ago

example-bower-resolver v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

example-bower-resolver

Sample implementation of a bower pluggable resolver.

Build Status Dependencies Dev Dependencies

Features

Bower resolver designed to illustrate best practices. This simple resolver only supports the following two commands:

  • bower install example://apple
  • bower install ex://apple

Purpose

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.

Installation

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"
  ]
}

Usage

Exercise the resolver with:

bower install ex://apple

Development

Run the mocha tests with:

npm test

Run the istanbul coverage analysis with:

npm run coverage