adds main config to packages.json to add main to adapter.js