PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/hotebooking.site/wp-content/themes/traveler/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/hotebooking.site/wp-content/themes/traveler/gulpfile.js

var gulp = require('gulp');
var bower = require('gulp-bower');
var sass = require('gulp-sass');
const autoprefixer = require('gulp-autoprefixer');

var config = {
    bowerDir: './bower_components'
}

var vendors = {
    'bower_components/chart.js/dist/**/*':'chart.js',
    'bower_components/select2/dist/**/*':'select2',
};

// Install ow Bower Components
gulp.task('bower', function() {
    return bower()
        .pipe(gulp.dest(config.bowerDir))
});


gulp.task('vendor',function(){

    for(k in vendors)
    {
        gulp.src(k)
            .pipe(gulp.dest('assets/vendors/'+vendors[k]));
    }
    return gulp;
});

gulp.task('scss', function() {
    gulp.src('./v2/sass/*.scss')
        .pipe(sass().on('error', sass.logError))
        .pipe(autoprefixer({
            browsers: ['last 2 versions'],
            cascade: false
        }))
        .pipe(gulp.dest('./v2/css/'))
});

gulp.task('default', ['scss'] , function () {
    gulp.watch('./v2/sass/**/*.scss', ['scss']);
});
//gulp.task('default', ['bower', 'vendor' ]);