6to5 now named Babel

This commit is contained in:
Tobias Reich 2015-02-16 20:26:10 +01:00
parent cca2b09d08
commit 16de1868d7
2 changed files with 7 additions and 7 deletions

View File

@ -29,7 +29,7 @@ gulp.task('view--js', function() {
var stream = var stream =
gulp.src(paths.view.js) gulp.src(paths.view.js)
.pipe(plugins['6to5']()) .pipe(plugins.babel())
.on('error', catchError) .on('error', catchError)
.pipe(plugins.concat('_view--javascript.js', {newLine: "\n"})) .pipe(plugins.concat('_view--javascript.js', {newLine: "\n"}))
.pipe(gulp.dest('../dist/')); .pipe(gulp.dest('../dist/'));
@ -80,7 +80,7 @@ gulp.task('main--js', function() {
var stream = var stream =
gulp.src(paths.main.js) gulp.src(paths.main.js)
.pipe(plugins['6to5']()) .pipe(plugins.babel())
.on('error', catchError) .on('error', catchError)
.pipe(plugins.concat('_main--javascript.js', {newLine: "\n"})) .pipe(plugins.concat('_main--javascript.js', {newLine: "\n"}))
.pipe(gulp.dest('../dist/')); .pipe(gulp.dest('../dist/'));

View File

@ -10,14 +10,14 @@
"url": "https://github.com/electerious/Lychee.git" "url": "https://github.com/electerious/Lychee.git"
}, },
"devDependencies": { "devDependencies": {
"gulp": "^3.8.10", "gulp": "^3.8.11",
"gulp-6to5": "^3.0.0",
"gulp-autoprefixer": "2.1.0", "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-load-plugins": "^0.8.0",
"gulp-minify-css": "^0.4.3", "gulp-minify-css": "^0.4.5",
"gulp-rimraf": "^0.1.1", "gulp-rimraf": "^0.1.1",
"gulp-sass": "^1.3.2", "gulp-sass": "^1.3.3",
"gulp-uglify": "^1.1.0" "gulp-uglify": "^1.1.0"
} }
} }