Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Command line commands and build support (via anvil.component dependency) for Twitter's bower

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .npmignore
Octocat-spinner-32 LICENSE-GPL
Octocat-spinner-32 LICENSE-MIT
Octocat-spinner-32 header.js
Octocat-spinner-32 npm-debug.log
Octocat-spinner-32 package.json

Anvil Bower Plugin

Adds bower commands to anvil (somewhat redundant, you could just use bower...) and attempts to move resources from the package into package specific subfolders under ./ext in the output directory.


Bower and TJ Holowaychuck's Component tools are incompatible. If you're installing components using Holowaychuck's component, then pretty much all the bower commands break. This has nothing to do with anvil; please don't report the issue to me :)

Command Line

Really the only advantage here is not having to have bower installed globally. To issue any command, you just type "anvil bower [command] [args]" and anvil will pass the task on.


If you want Anvil to auto-install your client dependencies, you can list them in your build file like this:

    "anvil.bower": {
        "dependencies": [

This extension will check for the presence of these packages before each build and ensure they've been installed.

## Problems
Unfortunately not everyone follows the same conventions in their package.json or component.json files so there's no predictable way for anvil to know where to find the component's resources. If there's no folder under lib/ext for a component, it's because the author failed to specify; please feel free to let them know they're doing it wrong.

## Installation

anvil install anvil.bower
Something went wrong with that request. Please try again.