updating package.json to work as an npm module