gulp-css-usage
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -59,3 +59,3 @@ 'use strict'; | ||
_gulpUtil2.default.log(''); | ||
_gulpUtil2.default.log(_gulpUtil2.default.colors.yellow('gulp-css-usage report: The following class names are not in use')); | ||
_gulpUtil2.default.log(_gulpUtil2.default.colors.yellow(PLUGIN_NAME + ': The following class names are not in use')); | ||
list.forEach(function (clazz) { | ||
@@ -124,2 +124,3 @@ return _gulpUtil2.default.log(clazz); | ||
if (file.isStream()) { | ||
_gulpUtil2.default.log(_gulpUtil2.default.colors.magenta(PLUGIN_NAME + ': streaming is deprecated and will not be supported soon')); | ||
if (enc !== 'utf8') { | ||
@@ -126,0 +127,0 @@ file.contents.setEncoding('utf8'); |
@@ -39,3 +39,3 @@ import through from 'through2'; | ||
gutil.log(''); | ||
gutil.log(gutil.colors.yellow('gulp-css-usage report: The following class names are not in use')); | ||
gutil.log(gutil.colors.yellow(PLUGIN_NAME + ': The following class names are not in use')); | ||
list.forEach(clazz => gutil.log(clazz)); | ||
@@ -93,2 +93,3 @@ gutil.log(''); | ||
if (file.isStream()) { | ||
gutil.log(gutil.colors.magenta(PLUGIN_NAME + ': streaming is deprecated and will not be supported soon')); | ||
if (enc !== 'utf8') { | ||
@@ -108,3 +109,2 @@ file.contents.setEncoding('utf8'); | ||
}); | ||
} | ||
@@ -111,0 +111,0 @@ }; |
{ | ||
"name": "gulp-css-usage", | ||
"version": "1.0.8", | ||
"description": "A Gulp task which scans your react classes ( .js / .jsx ), your CSS files, and gives you a report of CSS coverage. .i.e how many class names are needless and which are those class names", | ||
"version": "1.0.9", | ||
"description": "A Gulp task which scans your JavaScript classes, including React JSX files support (.jsx/.js), your CSS files, and gives you a report of CSS coverage. i.e how many class names are needless and which are those class names.", | ||
"keywords": [ | ||
@@ -12,3 +12,2 @@ "gulpplugin", | ||
"usage", | ||
"className", | ||
"class", | ||
@@ -15,0 +14,0 @@ "classes" |
@@ -61,2 +61,3 @@ # gulp-css-usage | ||
* write results to file | ||
* support of more CSS selectors, such as `#`, | ||
* support multiple CSS files | ||
@@ -63,0 +64,0 @@ * support of precompiled SCSS files as well |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14569
271
69