bower自动更新bower.json

  • 本文关键字:bower json 更新 bower
  • 更新时间 :
  • 英文 :


我使用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

最新更新