I found the same question in stackOverflow unanswered: Different main entry point in package.json for node and browser.
I just want to know how this configuration is done. How to specify different entries for different build targets in package.json?