Skip to content

Commit

Permalink
Update 6to5 to babel
Browse files Browse the repository at this point in the history
  • Loading branch information
ruipenso committed Feb 11, 2016
1 parent f708bc0 commit ef0894c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Module dependencies.
*/

var babel = require('gulp-babel');
var concat = require('gulp-concat');
var gulp = require('gulp');
var header = require('gulp-header');
Expand All @@ -11,7 +12,6 @@ var karma = require('karma').Server;
var ngAnnotate = require('gulp-ng-annotate');
var pkg = require('./package.json');
var rename = require('gulp-rename');
var to5 = require('gulp-6to5');
var uglify = require('gulp-uglify');
var wrapUmd = require('gulp-wrap-umd');

Expand Down Expand Up @@ -61,7 +61,7 @@ var config = {

gulp.task('scripts', ['scripts-lint'], function() {
return gulp.src(config.src)
.pipe(to5({ modules: 'ignore', blacklist: ['useStrict'] }))
.pipe(babel({ modules: 'ignore', blacklist: ['useStrict'] }))
.pipe(ngAnnotate({ single_quotes: true, add: true }))
.pipe(concat(config.name))
.pipe(wrapUmd(config.umd))
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@
"query-string": "^1.0.0"
},
"devDependencies": {
"6to5ify": "^3.1.2",
"angular-mocks": "^1.3.9",
"bower": "^1.3.12",
"github-changes": "^1.0.0",
"gulp": "^3.8.10",
"gulp-6to5": "^2.0.2",
"gulp-babel": "^5.3.0",
"gulp-concat": "^2.4.3",
"gulp-header": "^1.2.2",
"gulp-jshint": "^1.9.0",
Expand Down

0 comments on commit ef0894c

Please sign in to comment.