Add an option to disable saving to package.json
insin opened this issue · comments
If #80 was implemented, we could add an option to disable saving newly-installed modules to package.json
(and disable checking for it and creating it when it doesn't exist) - the default behaviour is what I want in a project context, but I would like to disable it when prototyping.
Related functionality: only use --save[-dev]
if package.json
is present
How about just skipping creation of package.json
altogether?
With an alternative check for modules being installed in place we wouldn't need it, so we can follow the user's lead by only saving deps if package.json
exists.