nmccready / bowerfresh

node and ruby scripts to keep certain bower dependencies up to date by uninstalling and cleaning the cache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bowerfresh

The purpose is to make sure some dependencies (especially gitrepo's (master)) are always fresh. It does this by:

  • cleaning bower cache
  • uninstalling the dependencies

To uilize bowerfresh add the sofresh property. See this bower file. Then in your build routine (package.json, shell script or something), do a postinstall and run bowerfresh (node) or bowerfreshrb (ruby).

bower.json (add to)

"sofresh": [
  "dep1",
  "dep2"
]

postinstall in package.json as an example

 "scripts": {
    "postinstall": "bowerfresh",
  },

About

node and ruby scripts to keep certain bower dependencies up to date by uninstalling and cleaning the cache


Languages

Language:Ruby 54.8%Language:JavaScript 45.2%