diff --git a/gulpfile.js b/gulpfile.js index 9a2c484..1218923 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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 diff --git a/package.json b/package.json index 5b93596..dc353da 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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", diff --git a/src/manifest.json b/src/manifest.json index fbb50a3..b269f34 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,7 +1,7 @@ { "name": "__MSG_extName__", "description": "__MSG_extDescription__", - "version": "0.0.99", + "version": "0.1.0", "background": { "persistent": false, "scripts": [