Added package.json for npm support

Added package.json for npm support. See readme.