Skip to content

Commit

Permalink
chore(deps): update Babel
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinspecker committed Oct 30, 2015
1 parent 5d37eb3 commit bf98bb9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["babel-preset-es2015"]
}
7 changes: 2 additions & 5 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
import babel from 'gulp-babel';
import babelCompiler from 'babel';
import babelCompiler from 'babel-core';
import del from 'del';
import gulp from 'gulp';
import eslint from 'gulp-eslint';
Expand Down Expand Up @@ -32,10 +32,7 @@ gulp.task('lint', ['clean'], () => {

gulp.task('compile', ['lint'], () => {
return gulp.src(srcFiles)
.pipe(babel({
auxiliaryCommentBefore: 'istanbul ignore next',
modules: 'common'
}))
.pipe(babel())
.pipe(gulp.dest(destDir));
});

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@
"homepage": "https://github.com/dustinspecker/count-spaces#readme",
"dependencies": {},
"devDependencies": {
"babel": "^5.6.14",
"babel-core": "^6.0.12",
"babel-preset-es2015": "^6.0.12",
"chai": "^3.0.0",
"coveralls": "^2.11.2",
"del": "^2.0.2",
"eslint-config-dustinspecker": "^0.1.0",
"eslint-path-formatter": "^0.1.1",
"gulp": "^3.9.0",
"gulp-babel": "^5.1.0",
"gulp-babel": "^6.0.0",
"gulp-eslint": "^1.0.0",
"gulp-istanbul": "^0.10.0",
"gulp-jscs": "^3.0.1",
Expand Down

0 comments on commit bf98bb9

Please sign in to comment.