Generate .gitignore and package.json files.