using module.json as config