The firebase init command creates a firebase. json configuration file in the root of your project directory . The firebase. json file is required to deploy assets with the Firebase CLI because it specifies which files and settings from your project directory are deployed to your Firebase project.