add package.json and publish to npm