var sFormat = require( 'stringformat' );
var transformTools = require( 'browserify-transform-tools' );
var path = require( 'path' );

var options = {
  excludeExtensions: [ '.json' ],
  evaluateArguments: true
};

module.exports = transformTools.makeRequireTransform( "requireTransform", options, function ( args, opts, cb ) {
  var configData = opts.configData || {};
  var config = configData.config || {};

  var key = args[ 0 ];

  var foundDep = config[ key ];

  if ( foundDep ) {
    return cb( null, sFormat( '({0})', foundDep ));
  }

  cb();
} );

var sFormat = require( 'stringformat' );
var transformTools = require( 'browserify-transform-tools' );
var path = require( 'path' );

var options = {
  excludeExtensions: [ '.json' ],
  evaluateArguments: true
};

module.exports = transformTools.makeRequireTransform( 'requireTransform', options, function ( args, opts, cb ) {
  var configData = opts.configData || {};
  var config = configData.config || {};

  var key = args[ 0 ];

  var foundDep = config[ key ];

  if ( foundDep ) {
    return cb( null, sFormat( '({0})', foundDep ));
  }

  cb();
} );

Make sure we use single quotes
REF: Make sure we use single quotes
