title: npm package.json aliases like webpack
body: <p>i am trying to alias a module however i am not sure how to do that with package.json</p>
  
  <p>in webpack you would do something like this:</p>
  
  <pre><code>module.exports = {
    //...
    resolve: {
      alias: {
        'pixi.js': 'pixi.js-legacy'
      }
    }
  };
  </code></pre>
  
  <p>But what is the equivalent without webpack?</p>