Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Commit

Permalink
Replacing gulp-clean by del
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Jul 22, 2015
1 parent 7a8067d commit 1655d5e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
9 changes: 5 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,21 @@
var extension_name = 'Battlelog-Notifier';

var gulp = require('gulp'),
clean = require('gulp-clean'),
fs = require('fs'),
del = require('del'),
vinylpaths = require('vinyl-paths'),
cleanhtml = require('gulp-cleanhtml'),
minifycss = require('gulp-minify-css'),
jshint = require('gulp-jshint'),
stripdebug = require('gulp-strip-debug'),
uglify = require('gulp-uglify'),
zip = require('gulp-zip'),
fs = require('fs'),
crx = require('gulp-crx');

// clean build directory
gulp.task('clean', function() {
return gulp.src('build/*', {read: false})
.pipe(clean());
return gulp.src('build/*')
.pipe(vinylpaths(del));
});

// copy static files
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Battlelog-Notifier",
"version": "0.0.99",
"version": "0.1.0",
"description": "Displays the count of your Battlelog friends in the extension's badge, by status: in game, online or offline.",
"homepage": "http://narno.org/Battlelog-Notifier",
"author": "Arnaud Ligny",
Expand All @@ -18,9 +18,10 @@
},
"devDependencies": {
"gulp": ">=3.5.5",
"del": ">=1.2.0",
"vinyl-paths": ">=1.0.0",
"gulp-zip": ">0.1.2",
"gulp-uglify": ">=0.2.1",
"gulp-clean": ">=0.2.4",
"gulp-minify-css": ">=0.3.0",
"gulp-jshint": ">=1.5.0",
"gulp-cleanhtml": ">=0.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "__MSG_extName__",
"description": "__MSG_extDescription__",
"version": "0.0.99",
"version": "0.1.0",
"background": {
"persistent": false,
"scripts": [
Expand Down

0 comments on commit 1655d5e

Please sign in to comment.