title: How build a react project inside build folder
body: <p>When I do: <code>npm run build</code> I would like to create a folder inside the build folder and move all build output inside that folder.</p>
  
  <p>At this moment I'm doing this:</p>
  
  <pre><code>"prebuild": "npm run build:clean",
  "build": "react-scripts build",
  "postbuild": "mkdir dest &amp;&amp; cp -r build/* dest &amp;&amp; npm run build:clean &amp;&amp; mv dest build",
  "build:clean": "rimraf build/*",
  </code></pre>
  
  <ol>
  <li>Clear build folder </li>
  <li>Build app</li>
  <li>Create dest folder</li>
  <li>Copy all that is inside in build folder in dest folder</li>
  <li>Clear build folder</li>
  <li>Move dest folder inside build folder</li>
  </ol>
  
  <p>How can I reduce it? </p>