Skip to content
This repository has been archived by the owner on Jan 26, 2020. It is now read-only.

evanjbowling/example-bower-resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example-bower-resolver

Sample implementation of a bower pluggable resolver.

Build Status Coverage Status Dependencies Dev Dependencies Downloads

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 coverage analysis with coveralls:

npm run coverage
npm run coverage-cleanup