code: function transformContracts(contracts, environmentName) {
    const scopedContracts = Object.assign({}, cloneDeep(contracts[environmentName] || {}));
  
    // add name property to all contracts for deployment identification
    Object.keys(scopedContracts).forEach((contractName) => {
      scopedContracts[contractName].name = contractName;
    });
  
    // return new scroped contracts
    return scopedContracts;
  }
docs: Prepair the contracts for deployment, scope contracts array, add name
  
  @method transformContracts
  @param {Object} contracts the environment object specified in the config.js
  @param {String} environmentName the callback to return the environment
  @return {Object} output the scoped contracts object, ready for deployment method