Fix dependency version in package.json
Update gitignore to exclude dist files.
Rename constants enum for difference types