Code Monkey home page Code Monkey logo

bower_lab's Introduction

bower_lab

A project to get my hands dirty with bower, a package manager utility by Twitter.

A Quick Sumary

  • Bower is a front-end package management utility tool.
  • It's like Bundler in the RoR world.
  • bower.json is to Bower, like Gemfile is to Bundler
  • Newer versions of Bower use bower.json to store package dependency information. The older versions of Bower were using components.json.
  • Bower runs over Git, and is package-agnostic. A packaged component can be made up of any type of asset, and use any type of transport (e.g., AMD, CommonJS, etc.).

Bower CheatSheet for my quick reference

  • To create a new file in the project repository, just bower init
  • To install a package, simply type bower install package_name#version as in bower install jquery and bower install jquery#1.2.3
  • Use --save option during install, to record the dependency in bower config. Example command: bower install <package> --save
  • bower list or bower ls will list the packages you currently have installed
  • If you’d like to see what repository URL a certain package refers to, use the bower lookup <package> command
  • To know what versions of a package are available, use bower info <package> command
  • The bower install <package> command saves a copy of it to ~/.bower/<package> to speed up later installations of the same package
  • ~/.bower`` is the bower cache. You can clear the cache with the command: bower cache-clean```

Prerequisites

Contributors

References:

bower_lab's People

Contributors

karthiks avatar

Watchers

 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.