<?php 

namespace Sargilla\Canvas;

use Illuminate\Support\Arr;
use Illuminate\Support\Facades\File;
use Illuminate\Foundation\Console\Presets\Preset as PresetClass;

class CanvasPreset extends PresetClass
{

    public static function install()
    {
        static::updatePackages();
      //  static::copyLangFolder();
    }

   
   
    public static function updatePackageArray($packages)
    {
        return array_merge([
            "jrespond" => "^1.0.0" ,
            "skrollr" => "^0.6.26" ,
            "swiper" => "^4.4.2"
        ], $packages);
    }

    // public static function copyLangFolder()
    // {
    //     File::copyDirectory(FLATLAB2_PATH . '/stubs/lang/', resource_path('lang/'));
    // }

}
