add package.json to publish to npm (fixes #4)