Using the $ bower init , I created bower.json for my package and registered it with Bower, no problem.
By looking at the Github home pages for some of the popular Bower packages, for example. RequireJS and Modernizr , I noticed their repo does not contain a bower.json or component.json . How is this possible?
I also noticed that when I download any Bower package, the package contains a .bower.json file (note the point at the beginning) and this file contains quite a bit more information than what I was asked during $ bower init for my package. For example, below .bower.json from Modernizr:
{ "name": "modernizr", "homepage": "https://github.com/Modernizr/Modernizr", "version": "2.6.2", "_release": "2.6.2", "_resolution": { "type": "version", "tag": "v2.6.2", "commit": "ca45d02757b83367d8455d477e3cbc42dfdee035" }, "_source": "git://github.com/Modernizr/Modernizr.git", "_target": "~2.6.2", "_direct": true }
When I download a newly created package, it just contains the same information that I originally registered with in git.
Is there a new format for bower.json that I should use? Or did I just miss something during the setup process?
source share