Skip to content

Commit

Permalink
fix gulp task babel
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbatista committed Oct 2, 2017
1 parent c540601 commit 50fe2f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import del from 'del';
import path from 'path';
import * as isparta from 'isparta';
import babel from 'babel-core';
import gulp from 'gulp';
import plugins from 'gulp-load-plugins';
const $ = plugins();
Expand Down Expand Up @@ -51,7 +50,7 @@ gulp.task('clean', () => {

gulp.task('babel', gulp.series(['clean'], () => {
return gulp.src('lib/**/*.js')
.pipe(babel())
.pipe($.babel())
.pipe(gulp.dest('dist'));
}));

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
"paypal-rest-sdk": "^1.6.8"
},
"devDependencies": {
"babel-core": "^5.8.35",
"babel-core": "^6.26.0",
"babel-eslint": "^4.1.8",
"babel-preset-env": "^1.6.0",
"babel-register": "^6.26.0",
"chai": "^3.5.0",
"coveralls": "^2.11.1",
"del": "^2.0.2",
"dirty-chai": "^1.2.2",
"eslint": "^4.7.2",
"eslint-config-loopback": "^8.0.0",
"gulp": "github:gulpjs/gulp#4.0",
"gulp-babel": "^7.0.0",
"gulp-coveralls": "^0.1.4",
"gulp-eslint": "^4.0.0",
"gulp-istanbul": "^1.1.1",
Expand Down

0 comments on commit 50fe2f7

Please sign in to comment.