From 16de1868d7e839c7146ea8db8868c9f3f9c28a48 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Mon, 16 Feb 2015 20:26:10 +0100 Subject: [PATCH] 6to5 now named Babel --- src/gulpfile.js | 4 ++-- src/package.json | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gulpfile.js b/src/gulpfile.js index cd70b80..fbec696 100644 --- a/src/gulpfile.js +++ b/src/gulpfile.js @@ -29,7 +29,7 @@ gulp.task('view--js', function() { var stream = gulp.src(paths.view.js) - .pipe(plugins['6to5']()) + .pipe(plugins.babel()) .on('error', catchError) .pipe(plugins.concat('_view--javascript.js', {newLine: "\n"})) .pipe(gulp.dest('../dist/')); @@ -80,7 +80,7 @@ gulp.task('main--js', function() { var stream = gulp.src(paths.main.js) - .pipe(plugins['6to5']()) + .pipe(plugins.babel()) .on('error', catchError) .pipe(plugins.concat('_main--javascript.js', {newLine: "\n"})) .pipe(gulp.dest('../dist/')); diff --git a/src/package.json b/src/package.json index f74c5de..a379dd6 100644 --- a/src/package.json +++ b/src/package.json @@ -10,14 +10,14 @@ "url": "https://github.com/electerious/Lychee.git" }, "devDependencies": { - "gulp": "^3.8.10", - "gulp-6to5": "^3.0.0", + "gulp": "^3.8.11", "gulp-autoprefixer": "2.1.0", - "gulp-concat": "^2.4.3", + "gulp-babel": "^4.0.0", + "gulp-concat": "^2.5.0", "gulp-load-plugins": "^0.8.0", - "gulp-minify-css": "^0.4.3", + "gulp-minify-css": "^0.4.5", "gulp-rimraf": "^0.1.1", - "gulp-sass": "^1.3.2", + "gulp-sass": "^1.3.3", "gulp-uglify": "^1.1.0" } }