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

--save-dev #37

Open
ScottFreeCode opened this issue Nov 15, 2016 · 0 comments
Open

--save-dev #37

ScottFreeCode opened this issue Nov 15, 2016 · 0 comments

Comments

@ScottFreeCode
Copy link

Is there a way to have a badge's install line include --save-dev for tools that are primarily meant to be used as dev dependencies (e.g. continuous-integration and testing frameworks, transpilers/bundlers that a project would depend on a specific version rather than the developer having a global install, etc.)?

(I have a vague recollection that if you npm init a project that already has locally installed dependencies, npm will somehow figure out which ones to put in package.json as regular dependencies and which to put in it as dev dependencies, but I never found out how they control which are which.)

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

No branches or pull requests

1 participant