Add .gitignore and fix package.json