added package.json for npm publishing
fix package.json typo