Simplify npm scripts with
if-env ... && npm run this || npm run that
I recommend switching to
per-env, which is much simpler and much more powerful!
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