Skip to content

Commit

Permalink
chore(package): switch from gulp-clean to del package
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Dec 22, 2014
1 parent 510191b commit 9a41280
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
var gulp = require('gulp');
var runSequence = require('run-sequence');
var clean = require('gulp-clean');
var del = require('del');
var vinylPaths = require('vinyl-paths');
var to5 = require('gulp-6to5');
var jshint = require('gulp-jshint');
var stylish = require('jshint-stylish');
Expand Down Expand Up @@ -36,8 +37,8 @@ var compilerOptions = {
var jshintConfig = {esnext:true};

gulp.task('clean', function() {
return gulp.src([path.output], {read: false})
.pipe(clean());
return gulp.src([path.output])
.pipe(vinylPaths(del));
});

gulp.task('build-es6', function () {
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
},
"devDependencies": {
"conventional-changelog": "0.0.11",
"del": "^1.1.0",
"gulp": "^3.8.10",
"gulp-6to5": "^1.0.2",
"gulp-bump": "^0.1.11",
"gulp-clean": "^0.3.1",
"gulp-jshint": "^1.9.0",
"gulp-yuidoc": "^0.1.2",
"jasmine-core": "^2.1.3",
Expand All @@ -50,7 +50,8 @@
"karma-jasmine": "^0.3.2",
"karma-jspm": "^1.0.1",
"object.assign": "^1.0.3",
"run-sequence": "^1.0.2"
"run-sequence": "^1.0.2",
"vinyl-paths": "^1.0.0"
},
"aurelia": {
"usedBy": [
Expand Down

0 comments on commit 9a41280

Please sign in to comment.