title: Running `ng build` in a specific directory
body: <p>I'm writing an automated build script that needs to run <code>ng build</code> in a specific directory.  My project has the following structure:</p>
  
  <pre><code>project
  ├ build-script
  └ project-client
    └ package.json
  </code></pre>
  
  <p><code>ng build</code> is looking for the package.json file, but it can't find it in its current location.  Is there a way I can direct <code>ng build</code> to the subdirectory without doing a <code>cd</code> (since bash is a bit wonky about changing directories)?  Essentially, I just need a way to tell <code>ng build</code> to operate in a directory that I specify.  </p>
  
  <p>I have tried doing <code>ng build ./project-client/</code> but it is giving the error that "You have to be inside an angular-cli project in order to use the build command"</p>
  
  <p>Thanks.</p>