add package.json for publishing on npm