Pass arguments to "node" executable when running "npm run"
<p>I want to run <code>npm run build</code>, but I have to increase stack size like <code>--stack-size=1500</code>, how can I pass it to <code>npm</code>?</p>

<p>Normally I'd run <code>node --stack-size=1500 ./some-script.js --some-arg</code></p>

<p>Let's say I can't edit <code>package.json</code></p>

<p>This is not duplicate of <a href="https://stackoverflow.com/questions/11580961/sending-command-line-arguments-to-npm-script">Sending command line arguments to npm script</a> because answers there describe how to pass arguments to <code>some-script.js</code> in this case, not to <code>node</code></p>