Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --save-dev option to install command #258

Closed
satazor opened this issue Feb 14, 2013 · 11 comments
Closed

Add --save-dev option to install command #258

satazor opened this issue Feb 14, 2013 · 11 comments
Milestone

Comments

@satazor
Copy link
Member

satazor commented Feb 14, 2013

Now that @desandro added devDependencies, it would be nice to have --save-dev flag for installing and saving directly to devDependencies instead of dependencies.

@vendethiel
Copy link

bower install a --save -d ?

@satazor
Copy link
Member Author

satazor commented Feb 14, 2013

@Nami-Doc -d? I suggested --save-dev to be in sync with npm.

@sindresorhus
Copy link
Contributor

npm uses -D as a shortflag for --save-dev

@satazor
Copy link
Member Author

satazor commented Feb 14, 2013

Alright, didn't know that :D

@satazor
Copy link
Member Author

satazor commented Feb 17, 2013

I've implemented the --save-dev flag, but there's no tests for it yet. In fact there is not tests for --save. Going to add them later.

@btford
Copy link
Contributor

btford commented Feb 22, 2013

Status on this? I'd really like to have this soon.

@satazor
Copy link
Member Author

satazor commented Feb 22, 2013

@btford the --save-dev is done and will be available in 0.8.0. I didn't yet find time to do the tests for the --save and --save-dev. If you find some free time, feel free to make a PR with the tests to speedup this.

@satazor
Copy link
Member Author

satazor commented Feb 24, 2013

Done, also added the same for the uninstall command.

@btford
Copy link
Contributor

btford commented Feb 25, 2013

Awesome work as always. Thanks, @satazor!

@pyronaur
Copy link

bower help shows no sign of this. I had to google it, and it has been around since 0.8... :(

@marczking
Copy link

I didn't even see --save (without the -dev) in the help guidelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants