adding package.json for npm publishing.