1.2.5 • Published 9 years ago

handybower v1.2.5

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

handybower

Build Status Code Climate Code Coverage npm Version

Install bower components and collect main files.

What's This?

Wrapper utility for bower install. bower is great, but when installing, it downloads entire repositories and you need to find files your own. Really annoying.

So here is handybower, which calls bower install and collect main files automatically.

Installation

npm install handybower --save

Usage

var handybower = require('handybower');

handybower([
    "jquery",
    "angular#1.4.3"
], {
    dest: "src/third_party" // Dirname to save files.
}, function (err) {
    // Will generate:
    // - src/third_party/jquery.js
    // - src/third_party/angular.js
});

Options

KeyDescriptionDefault
destDestination directory path.'handybower_components'
verboseLog verbosefalse
mainName of main files._detectFromBowerJson()

From CLI

Install as global module.

$ npm install handybower -g

Install via CLI.

$ handybower -d src/third_party jquery angular#1.4.3

License

This software is released under the MIT License.

1.2.5

9 years ago

1.2.4

9 years ago

1.2.3

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.1

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago