title: Post build event depending on configuration name in new ASP.NET 5 project
body: <p>I'm writing a unified project for 3 smart TVs. I have also 3 configurations created in <code>Visual Studio</code>. Now I want to execute some <code>CLI</code> scripts depending on selected configuration.</p>
  
  <p>The problem is in new <code>ASP.NET 5</code> project I don't have an editor for post build events.</p>
  
  <p>I know I have to do this in <code>project.json</code>. What I found is:</p>
  
  <pre><code>  "scripts": {
      "postbuild": ""
    }
  </code></pre>
  
  <p>But using this one I can't create different <code>CLI</code> scripts for different configurations.</p>
  
  <p>I found also:</p>
  
  <pre><code>  "configurations": {
    },
  </code></pre>
  
  <p>And I guess this is probably what I want, but... How to use it? Intellisense has no power here and also I wasn't lucky searching the Web...</p>
  
  <p><strong>[edit]</strong></p>
  
  <p>Maybe I should try with <code>.xproj</code>?</p>