shama / napa

:wine_glass: A helper for installing stuff without a package.json with npm.
MIT License
412 stars 34 forks source link

How to install a specific version of a bower module? #9

Closed kpgarrod closed 10 years ago

kpgarrod commented 10 years ago

I want to install a specific version of a bower package, e.g. angular-strap#2.0.0-rc.4.

How can I specify that to napa please?

shama commented 10 years ago
{
  "scripts": {
    "install": "napa"
  },
  "napa": {
    "angular-strap": "mgcrea/angular-strap#v2.0.0-rc.4"
  }
}

Or just point directly to the tarball: https://github.com/mgcrea/angular-strap/archive/v2.0.0-rc.4.tar.gz