Helps you prepend to npm scripts.
Usage
Example
const prependToNpmScript =
Now, if your test script was echo testing
, it is now echo this, first && echo testing
.
API
prependToNpmScript(name, script)
name
: the name of the script to prepend toscript
: the script to prepend
Returns empty promise.