我使用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
在bower.json中,我希望看到列出的依赖项,但没有。发生了什么事?
注:bower install jquery --save
确实适用于
注意:我所指的选项是通过bower help install
记录的
**-S**, --save Save installed packages into the project's bower.json dependencies
从bower帮助,保存选项有一个大写的S
-S, --save Save installed packages into the project's bower.json dependencies