title: npx <package> runs on command line but not in package.json scripts section
body: <p>I have a package installed in node using
  <code>npm i mypackage --save-dev</code>
  and it works fine on the command line with
  <code>npx mypackage --options</code>
  but when I want to have it in the package.json files scripts section it it fails. I tried</p>
  <pre><code>&quot;scripts&quot;: {
   &quot;mystuff&quot;: &quot;mypackage --options&quot;,
   &quot;mystuffnpm&quot;: &quot;npm run mypackage --options&quot;,
   &quot;mystuffnpx&quot;: &quot;npx mypackage --options&quot;
  }
  </code></pre>
  <p>but nothing works. What is the right way to get it in the scripts section running?</p>