If you use npm install <module> --save
it writes this module into the package.json
, which is very useful.
The package.json
has an area for scripts. I want to add some scripts here automatically, so what would be useful would be a command to use add scripts here instead of opening the files yourself.
Something like npm add-script <name> <command>
Is there really nothing like this?