bower automatically update bower.json

Bower

Bower Problem Overview


I run the following commands using bower 1.0.0:

mkdir testdir;cd testdir
bower init #accept defaults
bower install jquery -s  #the -s is supposed to cause update of bower.json
less bower.json

In bower.json I expect to see dependencies listed, but there are none. What is going on?

NOTE: bower install jquery --save does work

NOTE: The option I am referring to was documented through bower help install

**-S**, --save              Save installed packages into the project's bower.json dependencies

Bower Solutions


Solution 1 - Bower

from bower help, save option has a capital S

-S, --save  Save installed packages into the project's bower.json dependencies

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSelahView Question on Stackoverflow
Solution 1 - BowergruView Answer on Stackoverflow