title: Creating a sub-folder in package.json
body: <p>In my package.json (from npm), I have the following build command:</p>
  
  <pre><code>"build": "mkdir -p ./build &amp;&amp; cp ./src/index.html ./build/ &amp;&amp; webpack -p --config webpack.production.config.js"
  </code></pre>
  
  <p>This command runs just fine and creates a "build" folder with almost everything I need.</p>
  
  <p>However, I also need to make the build command create a sub-directory (in the <em>build</em> folder) called "images" .</p>
  
  <p>I tried a few things, such as the following:</p>
  
  <pre><code> "build": "mkdir build &amp;&amp; mkdir -p ./build/images &amp;&amp; cp src/index.html build/ &amp;&amp; webpack -p --config webpack.production.config.js"
  </code></pre>
  
  <p>And it always returns <a href="http://pastebin.com/pGQ00r0N" rel="noreferrer">this error</a></p>
  
  <p>How can I change this build command to create a sub-directory inside the build folder?</p>