add package.json to put this is npm

# summary

this pr adds a `package.json` file so this can be put in `npm`.

# stepts

1. merge this pr
2. `npm publish`