public static function parseComposerExtraList($composerExtra, $name, $pathDist) {
		
		// move assets to the base directory
		if (isset($composerExtra["dist"]["baseDir"])) {
			self::parseFileList($name,$pathDist,Config::getOption("baseDir"),$composerExtra["dist"]["baseDir"]);
		}
		
		// move assets to the public directory
		if (isset($composerExtra["dist"]["publicDir"])) {
			self::parseFileList($name,$pathDist,Config::getOption("publicDir"),$composerExtra["dist"]["publicDir"]);
		}
		
		// move assets to the source directory
		if (isset($composerExtra["dist"]["sourceDir"])) {
			self::parseFileList($name,$pathDist,Config::getOption("sourceDir"),$composerExtra["dist"]["sourceDir"]);
		}
		
		// move assets to the scripts directory
		if (isset($composerExtra["dist"]["scriptsDir"])) {
			self::parseFileList($name,$pathDist,Config::getOption("scriptsDir"),$composerExtra["dist"]["scriptsDir"]);
		}
		
		// move assets to the data directory
		if (isset($composerExtra["dist"]["dataDir"])) {
			self::parseFileList($name,$pathDist,Config::getOption("dataDir"),$composerExtra["dist"]["dataDir"]);
		}
		
		// move assets to the components directory
		if (isset($composerExtra["dist"]["componentDir"])) {
			$templateExtension = isset($composerExtra["templateExtension"]) ? $composerExtra["templateExtension"] : "mustache";
			$onready           = isset($composerExtra["onready"]) ? $composerExtra["onready"] : "";
			$callback          = isset($composerExtra["callback"]) ? $composerExtra["callback"] : "";
			$componentDir      = Config::getOption("componentDir");
			self::parseComponentList($name,$pathDist,$componentDir."/".$name,$composerExtra["dist"]["componentDir"],$templateExtension,$onready,$callback);
			self::parseFileList($name,$pathDist,$componentDir."/".$name,$composerExtra["dist"]["componentDir"]);
		}
		
		// see if we need to modify the config
		if (isset($composerExtra["config"])) {
			
			foreach ($composerExtra["config"] as $option => $value) {
				
				// update the config option
				Config::updateConfigOption($option,$value);
				
			}
			
		}
		
	}
public static function parseComposerExtraList($composerExtra, $name, $pathDist) {
		
		// move assets to the base directory
		if (isset($composerExtra["dist"]["baseDir"])) {
			self::parseFileList($name,$pathDist,Config::getOption("baseDir"),$composerExtra["dist"]["baseDir"]);
		}
		
		// move assets to the public directory
		if (isset($composerExtra["dist"]["publicDir"])) {
			self::parseFileList($name,$pathDist,Config::getOption("publicDir"),$composerExtra["dist"]["publicDir"]);
		}
		
		// move assets to the source directory
		if (isset($composerExtra["dist"]["sourceDir"])) {
			self::parseFileList($name,$pathDist,Config::getOption("sourceDir"),$composerExtra["dist"]["sourceDir"]);
		}
		
		// move assets to the scripts directory
		if (isset($composerExtra["dist"]["scriptsDir"])) {
			self::parseFileList($name,$pathDist,Config::getOption("scriptsDir"),$composerExtra["dist"]["scriptsDir"]);
		}
		
		// move assets to the data directory
		if (isset($composerExtra["dist"]["dataDir"])) {
			self::parseFileList($name,$pathDist,Config::getOption("dataDir"),$composerExtra["dist"]["dataDir"]);
		}
		
		// move assets to the components directory
		if (isset($composerExtra["dist"]["componentDir"])) {
			$templateExtension = isset($composerExtra["templateExtension"]) ? $composerExtra["templateExtension"] : "mustache";
			$onready           = isset($composerExtra["onready"]) ? $composerExtra["onready"] : "";
			$callback          = isset($composerExtra["callback"]) ? $composerExtra["callback"] : "";
			$componentDir      = Config::getOption("componentDir");
			self::parseComponentList($name,$pathDist,$componentDir."/".$name,$composerExtra["dist"]["componentDir"],$templateExtension,$onready,$callback);
			self::parseFileList($name,$pathDist,$componentDir."/".$name,$composerExtra["dist"]["componentDir"]);
		}
		
		// see if we need to modify the config
		if (isset($composerExtra["config"])) {
			
			foreach ($composerExtra["config"] as $option => $value) {
				
				// update the config option
				Config::updateConfigOption($option,$value);
				
			}
			
		}
		
	}
public static function parseComposerExtraList ( $ composerExtra , $ name , $ pathDist ) { // move assets to the base directory if ( isset ( $ composerExtra [ "dist" ] [ "baseDir" ] ) ) { self :: parseFileList ( $ name , $ pathDist , Config :: getOption ( "baseDir" ) , $ composerExtra [ "dist" ] [ "baseDir" ] ) ; } // move assets to the public directory if ( isset ( $ composerExtra [ "dist" ] [ "publicDir" ] ) ) { self :: parseFileList ( $ name , $ pathDist , Config :: getOption ( "publicDir" ) , $ composerExtra [ "dist" ] [ "publicDir" ] ) ; } // move assets to the source directory if ( isset ( $ composerExtra [ "dist" ] [ "sourceDir" ] ) ) { self :: parseFileList ( $ name , $ pathDist , Config :: getOption ( "sourceDir" ) , $ composerExtra [ "dist" ] [ "sourceDir" ] ) ; } // move assets to the scripts directory if ( isset ( $ composerExtra [ "dist" ] [ "scriptsDir" ] ) ) { self :: parseFileList ( $ name , $ pathDist , Config :: getOption ( "scriptsDir" ) , $ composerExtra [ "dist" ] [ "scriptsDir" ] ) ; } // move assets to the data directory if ( isset ( $ composerExtra [ "dist" ] [ "dataDir" ] ) ) { self :: parseFileList ( $ name , $ pathDist , Config :: getOption ( "dataDir" ) , $ composerExtra [ "dist" ] [ "dataDir" ] ) ; } // move assets to the components directory if ( isset ( $ composerExtra [ "dist" ] [ "componentDir" ] ) ) { $ templateExtension = isset ( $ composerExtra [ "templateExtension" ] ) ? $ composerExtra [ "templateExtension" ] : "mustache" ; $ onready = isset ( $ composerExtra [ "onready" ] ) ? $ composerExtra [ "onready" ] : "" ; $ callback = isset ( $ composerExtra [ "callback" ] ) ? $ composerExtra [ "callback" ] : "" ; $ componentDir = Config :: getOption ( "componentDir" ) ; self :: parseComponentList ( $ name , $ pathDist , $ componentDir . "/" . $ name , $ composerExtra [ "dist" ] [ "componentDir" ] , $ templateExtension , $ onready , $ callback ) ; self :: parseFileList ( $ name , $ pathDist , $ componentDir . "/" . $ name , $ composerExtra [ "dist" ] [ "componentDir" ] ) ; } // see if we need to modify the config if ( isset ( $ composerExtra [ "config" ] ) ) { foreach ( $ composerExtra [ "config" ] as $ option => $ value ) { // update the config option Config :: updateConfigOption ( $ option , $ value ) ; } } }
Parse the extra section from composer.json
@param  {Object}     the JSON for the composer extra section
Parse the extra section from composer . json