5

I'm using Bower to manage all the front end libraries and tools I'm using for a project. My bower.json file looks like this

{
  "name": "New Project",
  "version": "0.1.0",
  "dependencies": {
    "jquery": "~1.11.1",
    "bootstrap": "~3.3.4"
  }
}

When I run bower install it creates a jquery/src directory with a ton of JS files that I don't need and won't use. I just need the jquery.min.js file. Is there a way to control how much is installed and just do a minimal install?

Pattle
  • 5,983
  • 8
  • 33
  • 56
  • 1
    possible duplicate of [Bower.json install only single file](http://stackoverflow.com/questions/25557669/bower-json-install-only-single-file) – Nix Jun 16 '15 at 22:48

1 Answers1

0

Only Grab the Files You Need While Using Bower

links:

  1. explanation: https://scotch.io/tutorials/only-grab-the-files-you-need-while-using-bower
  2. direct: https://github.com/blittle/bower-installer
Scrazy
  • 31
  • 6
  • 1
    Whilst this may theoretically answer the question, [it would be preferable](//meta.stackoverflow.com/q/8259) to include the essential parts of the answer here, and provide the link for reference. – Raju Jul 20 '16 at 00:27
  • All links are broken. – TrebledJ Jul 28 '22 at 02:58