0.0.3 • Published 9 years ago
grunt-css-analysis v0.0.3
Synopsis
Run analyze-css against CSS files, generating standard-format reports.
Code Example
grunt.loadNpmTasks('grunt-css-analysis');
grunt.initConfig({
cssanalysis : {
css: {
files : [{ cwd: '.', src: ['/**/*.css'], expand : true}],
exclude: [],
options: {
fail: true, //default
failOn: 'error', //default
thresholds: {
error: 0.5, // error threshold, default 0.5
warning: 0.75 //warning thredshold, default 0.75
},
pmdXML: '/pmd.xml'
cssanalyze: {
// cssanalyse options here
}
}
}
};
});
Motivation
This project is based on the excellent analyze-css and its associated grunt task grunt-analyze-css.
This task does nothing more than run analyze-css, but creates reports in a number of standard XML formats using violation-reporter for consumption by jenkins various plugins.
Installation
npm install grunt-css-analysis
Contributors
Stuart Campbell (campbes)
License
Released under the MIT License
0.0.3
9 years ago
0.0.2
9 years ago
0.0.1
9 years ago
0.0.0-beta.1
9 years ago
0.0.0-alpha.3
9 years ago
0.0.0-alpha.2
9 years ago
0.0.0-alpha.1
9 years ago