diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 656aeb5..d39cb28 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -1,6 +1,5 @@ import gulp from 'gulp'; import del from 'del'; -import ext from 'gulp-ext'; import babel from 'gulp-babel'; import uglify from 'gulp-uglify'; import help from 'gulp-task-listing'; @@ -22,7 +21,6 @@ gulp.task('compile-bin', () => gulp.src('bin/*') .pipe(babel()) .pipe(uglify()) - .pipe(ext.crop()) .pipe(gulp.dest('build/bin'))); gulp.task('watch-lib', () => gulp.watch('lib/*.js', ['compile-lib'])); diff --git a/package.json b/package.json index 1f973b3..8ba234e 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,9 @@ "es2015" ], "plugins": [ + "transform-runtime", "syntax-async-functions", - "transform-async-to-generator", - "transform-runtime" + "transform-async-to-generator" ] }, "eslintConfig": { @@ -77,38 +77,27 @@ "alpha-sort": "1.0.2", "ava": "0.15.1", "babel-eslint": "6.0.4", - "babel-plugin-transform-runtime": "6.9.0", "babel-plugin-syntax-async-functions": "6.8.0", "babel-plugin-transform-async-to-generator": "6.8.0", + "babel-plugin-transform-runtime": "6.9.0", "babel-preset-es2015": "6.9.0", "babel-register": "6.9.0", "del": "2.2.0", + "eslint": "2.12.0", "eslint-config-standard": "5.3.1", + "eslint-plugin-promise": "1.3.2", "eslint-plugin-standard": "1.3.2", + "estraverse-fb": "1.3.1", "gulp": "3.9.1", "gulp-babel": "6.1.2", "gulp-eslint": "2.0.0", - "gulp-ext": "1.0.0", "gulp-task-listing": "1.0.1", - "gulp-uglify": "1.5.3", - "eslint": "2.12.0", - "eslint-plugin-promise": "1.3.2", - "estraverse-fb": "1.3.1" + "gulp-uglify": "1.5.3" }, "scripts": { "test": "ava", "prepublish": "gulp compile" }, - "babel": { - "presets": [ - "es2015" - ], - "plugins": [ - "transform-runtime", - "syntax-async-functions", - "transform-async-to-generator" - ] - }, "ava": { "failFast": true, "files": [