added a separate npm-specific main file