title: how to execute powershell ps1 scripts from package.json "scripts"?
body: <p>How can I execute PowerShell ps1 scripts from <code>package.json</code> "scripts"?</p>
  
  <p>I know how to set up a basic script in package.json "scripts".  For example with the following configuration, I can exec <code>npm run test</code> which will output "this is only a test" to the console:</p>
  
  <pre><code>"scripts": {
    "test": "echo \"this is only a test\""
  }
  </code></pre>
  
  <p>However, I have a more advanced scenario where I'd like to execute a PowerShell script. Something like this:</p>
  
  <pre><code>"scripts": {
    "buildAngular": "buildAngular.ps1"
  }
  </code></pre>
  
  <p>Can I exec a ps1 script like this via the scripts object? Is any special setup/config required? Are there any additional constraints?</p>