yeoman / generator-bootstrap

Yeoman generator for Bootstrap
http://yeoman.io
186 stars 40 forks source link

Added the option to pass `--save` and `--save-dev` #16

Closed MarcelloDiSimone closed 11 years ago

MarcelloDiSimone commented 11 years ago

Added the option to add --save and --save-dev to the yo bootstrap command in order to save the package as a dependency in bower.json

sindresorhus commented 11 years ago

I don't think it should have these options, but instead default to --save as it's meant to scaffold out something you're going to use in your project. You can easily just install it with whatever flag you want directly with Bower.

// @passy @btford

passy commented 11 years ago

@sindresorhus My thoughts exactly. Just default to using --save. Easy enough to remove it manually if you don't want it.

sindresorhus commented 11 years ago

Alright. PR welcome for that --save change.

MarcelloDiSimone commented 11 years ago

@sindresorhus @passy I thought it might be helpful to leave the choice, since less, sass will be compiled into production code and are therefor part of development. At least I would put them into devDependencies.