Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

bower 1.0: what's the deal with .bower.json?

Tags:

bower

I just upgraded to bower 1.0, did a bower install and found a bunch of new .bower.json files (note the leading period).

I found no references to .bower.json on the changelog or in the docs. Am I supposed to .gitignore these? They look very much like the original bower.json without the dot plus some extra metadata.

like image 688
thatmarvin Avatar asked Jul 23 '13 18:07

thatmarvin


People also ask

What is bower JSON used for?

The bower. json file is actually used to define a Bower package, so in effect you're creating your own package that contains all of the dependencies for your application.

Is bower deprecated?

Bower has been deprecated. It is still being maintained for those who still use it.

How does bower install work?

To get started, Bower works by fetching and installing packages from all over, taking care of hunting, finding, downloading, and saving the stuff you're looking for. Bower keeps track of these packages in a manifest file, bower. json . How you use packages is up to you.


1 Answers

You can't delete them because Bower uses its extra metadata. It was decided to leave the original bower.json file untouched and create a .bower.json one instead.

like image 132
satazor Avatar answered Sep 22 '22 18:09

satazor