title: Running multiple Typescript 'tsc' commands
body: <p>I am trying to build an NPM command which will transpile two Typescript projects that are contained in sub directories in my application and the start my server.</p>
  
  <p>I have a public folder called 'src' which contains two folders, Server and Client. There are tsconfig.json files in both as they use different module systems. </p>
  
  <p>I am trying to write a command in npm which will transpile both of these Typescript roots before starting the server ut can't figure out how to so it. I wuold have thought it was something similar to this if it was possible?</p>
  
  <pre><code>tsc /src/Server/*.ts &amp;&amp; tsc /src/Client/*.ts &amp;&amp; node /src/Server/server
  </code></pre>
  
  <p>Here are my two tsconfig.json files:</p>
  
  <p>in /src/Server</p>
  
  <pre><code>{
    "compilerOptions": {
      "module": "commonjs",
      "target": "es5",
      "sourceMap": true
    },
    "exclude": [
      "node_modules"
    ]
  }
  </code></pre>
  
  <p>and in /src/Client</p>
  
  <pre><code>{
    "compilerOptions": {
      "target": "ES5",
      "module": "system",
      "moduleResolution": "node",
      "sourceMap": false,
      "emitDecoratorMetadata": true,
      "experimentalDecorators": true,
      "removeComments": false,
      "noImplicitAny": false
    }
  }
  </code></pre>
  
  <p>Is what I am trying to achieve possible here?</p>
  
  <p>Thanks!</p>