chore(build): replace deprecated gulp-rimraf by node del
see
0bb073de44/docs/recipes
/delete-files-folder.md
This commit is contained in:
parent
ceb9ee92bb
commit
24d190c9a8
|
@ -1,4 +1,5 @@
|
||||||
var benchpress = require('angular-benchpress/lib/cli');
|
var benchpress = require('angular-benchpress/lib/cli');
|
||||||
|
var del = require('del');
|
||||||
var es = require('event-stream');
|
var es = require('event-stream');
|
||||||
var file2moduleName = require('./file2modulename');
|
var file2moduleName = require('./file2modulename');
|
||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
|
@ -109,9 +110,8 @@ var sourceTypeConfigs = {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
gulp.task('modules/clean', function() {
|
gulp.task('modules/clean', function(cb) {
|
||||||
return gulp.src('build', {read: false})
|
del('build', cb);
|
||||||
.pipe($.rimraf());
|
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('modules/build.dart/src', function() {
|
gulp.task('modules/build.dart/src', function() {
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"angular-benchpress": "^0.1.3",
|
"angular-benchpress": "^0.1.3",
|
||||||
|
"del": "~1",
|
||||||
"es6-module-loader": "^0.9.2",
|
"es6-module-loader": "^0.9.2",
|
||||||
"event-stream": "^3.1.5",
|
"event-stream": "^3.1.5",
|
||||||
"glob": "^4.0.6",
|
"glob": "^4.0.6",
|
||||||
"gulp-connect": "~1.0.5",
|
"gulp-connect": "~1.0.5",
|
||||||
"gulp-rimraf": "^0.1.0",
|
|
||||||
"karma": "^0.12.23",
|
"karma": "^0.12.23",
|
||||||
"karma-chrome-launcher": "^0.1.4",
|
"karma-chrome-launcher": "^0.1.4",
|
||||||
"karma-cli": "^0.0.4",
|
"karma-cli": "^0.0.4",
|
||||||
|
|
Loading…
Reference in New Issue