0.1.5 • Published 10 years ago
autobower v0.1.5
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)