You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
The text was updated successfully, but these errors were encountered:
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 inpackage.json
as regular dependencies and which to put in it as dev dependencies, but I never found out how they control which are which.)The text was updated successfully, but these errors were encountered: