add engines to generated package.json and remove deprecated keypair property from generated config files