Nice Paintings, Mondrian
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    plumber-bowerpublic

    plumber-bower Build Status

    Bower sourcing operation for Plumber pipelines.

    Example

    var bower = require('plumber-bower');
    
    module.exports = function(pipelines) {
    
        pipelines['compile'] = [
            all(
                bower('jquery'),
                bower('moment', 'min/moment.min.js')
            ),
            // ... more pipeline operations
        ];
    
    };
    

    API

    bower(componentName, [paths])

    Returns resources from the locally installed Bower component componentName. If paths if provided, they will be globbed from within the component's Bower directory; otherwise the files register as main files in the component will be returned.

    The paths array may include wildcards like * or ** (globstar).

    See the minimatch documentation for the full available syntax.

    bower.from(directory)

    Returns a new bower function rooted in the given directory, where the bower.json (and optionally .bowerrc) should be located. By default, the current working directory is used.

    install

    npm i plumber-bower

    Downloadsweekly downloads

    12

    version

    0.4.3

    license

    GPL

    repository

    github.com

    last publish

    collaborators

    • avatar