This gulp task is converting a json file into a Typescript class. Starting with Typescript 2.9, it's possible to import json files directly. This can also be achieved using webpack, but it's not a good idea to do it without typescript support because it can cause typing issues.
While doing this, it'd also be a good time to ignore the config file and include an example in the repo (similar to .env and .env.example in other frameworks).