title: npm pre/post hook with wildcard match
body: <p>Let's say I have the following scripts in my package.json</p>
  <pre><code>{
    &quot;scripts&quot;: {
       &quot;release:public&quot;: &quot;....&quot;,
       &quot;release:beta&quot;: &quot;....&quot;
    }
  }
  </code></pre>
  <p>But now I want to add a <code>prerelease</code> script that is identical for both <code>release:public</code> and <code>release:beta</code>. Is that possible to have a <code>prerelease:*</code> or another way to runs before both scripts?</p>