add package.json for npm support
Merge pull request #13 from PhilT/master

add package.json for npm support