npm script, copy package.json to dist when bundling
<p>I am trying to add a second part to my npm bundle script. The first part runs great, however I am trying to copy in 3 files along with the bundle.</p>

<p>So right now I have :</p>

<pre><code>"bundle": "NODE_ENV=production webpack --output-file bundledFile.js &amp;&amp; cp package.json dist/",
</code></pre>

<p>The <code>NODE_ENV=production webpack --output-file bundledFile.js</code> works great by itself. The part that is not working is the <code>&amp;&amp; cp package.json dist/</code>, I would like the script to copy my package.json (along with 2 other files actually, but just starting with this one) to the dist folder. Brand new to these scripts, any idea how to fix? Appreciate any advice, thanks!</p>