title: How do I generate a separate package.json file in the dist directory?
body: <p>I'm creating a package to publish to npm. </p>
  
  <ol>
  <li>Can someone please help how do I generate separate package.json and
  place it to dist directory? I'm using gulp as build tool.</li>
  <li>What should be the contents of the package.json that is meant to be published? I believe we need to exclude devdependencies. I'm not sure about others.</li>
  </ol>
  
  <p>Please help.</p>