Simplify npm scripts with
if-env ... && npm run this || npm run that
Suppose you want to simplify development and be able to run
in all environments & run the correct scripts.
package.json might look like this:
The problem is, this doesn't work in all environments.
Instead, you can write:
$ npm install
MIT © Eric Clemmons 2015