0.1.5 • Published 10 years ago

autobower v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
10 years ago

autobower

Call bower from your scripts, without the need of bower.json

API

from test/sanity.js,

var autobower = require("../index.js");

exports.test_jquery = function(test) {
    var config = {
        directory: "test",
        cwd: ".",
        packages: [
            "jquery",
        ]
    }
    autobower(config)
        .then(function () {
            test.done();
        })
       .done();
};

exports.test_fail = function(test) {
    var config = {
        directory: "test",
        cwd: ".",
        packages: [
            "blahblah"
        ]
    }
    autobower(config)
        .then(function () {
            test.done();
        })
        .fail(function () {
            test.done();
        })
       .done();
};

Install

npm install autobower

(This README was generated with edde)

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.1

10 years ago

0.1.2

10 years ago

0.1.0

10 years ago