Running npm 3.10.3 and node 6.7.0 on Ubuntu, I was using the "npm-run" package to allow using executable node scripts locally in a cross-platform way. So, for example, for some simple ava tests I ran with the following in package.json.
"scripts": {
"test": "npm-run ava --serial "
}
However, I noticed that the following worked just fine as well, after verifying that ava was not installed globally:
"scripts": {
"test": "ava --serial "
}
I haven't tested on Windows yet, so the jury's still out, but does anyone know if this behavior is now supported directly in npm as it appears? If so, is npm-run still recommended for backward compatibility?
Thanks,
John