Specify main and dependencies for npm.