Giter Club home page Giter Club logo

node-bpac's Introduction

node-bpac

Pack your bower_components as *.tgz files for version control and easy deploys

This module is based off of the pac module from mikefrey.

Why?

Relying on the availability of a third party service when deploying has a tendency to cause headaches, but committing the raw source of third party components makes for messy changesets that can kill the ability to do a proper code review.

Installation

npm install -g bpac

Usage

From a command prompt, running bpac from your project's root directory will package all of your bower_components into the .components directory.

Running bpac install from the same directory will unpack all archives in the .components directory into your bower_components directory.

Note: The directory property of your .bowerrc will be used if its set.

If your build/deploy system does not have access to bpac, you can use a script similar to the following:

mkdir -p bower_components
for f in .components/*.tgz; do tar -xzf $f -C bower_components/; done

node-bpac's People

Contributors

epixa avatar mikefrey avatar mrdarcymurphy avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.