Skip to content

bbtfr/middleman-bower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

middleman-bower

Gem Version Code Climate

Bower support for Middleman projects. Dependency file is bower.json in Middleman root dir or Bowerfile if you use DSL, based on bower-rails. Check out changelog for the latest changes and releases.

Requirements

Install

in Gemfile

  gem "middleman-bower", github: "bbtfr/middleman-bower"

##Middleman commands

  • middleman bower init to create Bowerfile, or middleman bower init json to create bower.json

Once you are done with bower.json or Bowerfile you can run

  • middleman bower install to install packages
  • middleman bower install deployment to install packages from bower.json
  • middleman bower update to update packages
  • middleman bower update prune to update components and uninstall extraneous packages
  • middleman bower list to list all packages
  • middleman bower clean to remove all files not listed as main files (if specified)
  • middleman bower resolve to resolve relative asset paths in components

If you'd like to pass any bower CLI options to a rake task, like -f, -j, you can simply do:

middleman bower install -f

##JSON configuration & Ruby DSL configuration & more See bower-rails for detail.

About

Bundler-like DSL + thor tasks for Bower on Middleman

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages