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 shortcut for saving dependencies #645

Closed
deadcoder0904 opened this issue Oct 11, 2016 · 8 comments
Closed

Add shortcut for saving dependencies #645

deadcoder0904 opened this issue Oct 11, 2016 · 8 comments

Comments

@deadcoder0904
Copy link

Add shortcut commands like -S for --save & -D for --dev

@MRokas
Copy link

MRokas commented Oct 11, 2016

using yarn add <pkg-name> does that, however I don't see how to do it for dev-dep

@montogeek
Copy link

@hawkrives
Copy link

yarn add --dev $pkg works, but it's going to take a while for my muscle memory to adapt to --dev instead of -D

@tunnckoCore
Copy link

Yea it would be good to have as more as possible mappings of npm commands/flags

@MRokas
Copy link

MRokas commented Oct 11, 2016

@montogeek - oh, managed to miss docs link. ty!

@joshmanders
Copy link

Yeah I was gonna alias npm=yarn but typing npm triggers muscle memory and I'd mess it all up, haha.

@ljharb
Copy link

ljharb commented Oct 11, 2016

Kind of a duplicate of #649 - please see #649 (comment) for why adding shortcuts might not be a good idea.

@wyze
Copy link
Member

wyze commented Nov 3, 2016

Fixed by #1618 and #1653.

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

No branches or pull requests

10 participants