I am using npm as a build tool and so in my package.json
, and some of my scripts depend on other scripts:
{
"test": "npm run lint && mocha"
}
This hardcodes the npm
package manager into package.json
. How can make this approach to expressing dependencies work with both npm
and yarn
?