Bower vs NPM confusion

Bower is created solely for the front-end and is optimized with that in mind (…) requires a flat dependency tree.”

How to add new client javascript library to a project?

  1. Edit bower.json
  2. bower update
  3. grunt wiredep*

* See Gruntfile.js.

Edit or create package.json and use npm to install grunt and wiredep.

Tags: , Categories: Blog, Programming

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.