add package.json for use as an npm module