gulp-decomment
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "gulp-decomment", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Removes comments from JSON, JavaScript, CSS, HTML, etc.", | ||
@@ -14,3 +14,3 @@ "scripts": { | ||
"dependencies": { | ||
"decomment": "0.7", | ||
"decomment": "^0.7.5", | ||
"gulp-util": "3.0", | ||
@@ -17,0 +17,0 @@ "through2": "2.0" |
@@ -34,3 +34,3 @@ gulp-decomment | ||
return gulp.src('input.js') | ||
.pipe(decomment()) | ||
.pipe(decomment({trim: true})) | ||
.pipe(gulp.dest('dest')); | ||
@@ -43,6 +43,7 @@ }); | ||
Available methods, according to [decomment API](https://github.com/vitaly-t/decomment#api): | ||
* [decomment([options])](https://github.com/vitaly-t/decomment#decommentcode-options--string) | ||
* [decomment.text([options])](https://github.com/vitaly-t/decomment#decommenttexttext-options--string) | ||
* [decomment.html([options])](https://github.com/vitaly-t/decomment#decommenthtmlhtml-options--string) | ||
##### - [decomment([options])](https://github.com/vitaly-t/decomment#decommentcode-options--string) | ||
##### - [decomment.text([options])](https://github.com/vitaly-t/decomment#decommenttexttext-options--string) | ||
##### - [decomment.html([options])](https://github.com/vitaly-t/decomment#decommenthtmlhtml-options--string) | ||
## License | ||
@@ -49,0 +50,0 @@ |
3508
53
Updateddecomment@^0.7.5