aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2013-03-11 15:29:08 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2013-03-12 11:00:32 +0100
commitbd211df0d35d7f326c338ce3f3fc81e5d966d3d7 (patch)
treed4be72d4c96bb97c5300ec3bd7972c3b99f2f38c
parentf87b4e0f4ac2342dff260c32aa8d08148e76f7a4 (diff)
downloadjquery-ui-bd211df0d35d7f326c338ce3f3fc81e5d966d3d7.tar.gz
jquery-ui-bd211df0d35d7f326c338ce3f3fc81e5d966d3d7.zip
Build: Switch from grunt-css to the equivalent grunt-contrib tasks
-rw-r--r--Gruntfile.js6
-rw-r--r--package.json3
2 files changed, 5 insertions, 4 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 06a1855a4..96a93ded0 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -127,7 +127,8 @@ grunt.loadNpmTasks( "grunt-contrib-jshint" );
grunt.loadNpmTasks( "grunt-contrib-uglify" );
grunt.loadNpmTasks( "grunt-contrib-concat" );
grunt.loadNpmTasks( "grunt-contrib-qunit" );
-grunt.loadNpmTasks( "grunt-css" );
+grunt.loadNpmTasks( "grunt-contrib-csslint" );
+grunt.loadNpmTasks( "grunt-contrib-cssmin" );
grunt.loadNpmTasks( "grunt-html" );
grunt.loadNpmTasks( "grunt-compare-size" );
grunt.loadNpmTasks( "grunt-git-authors" );
@@ -354,7 +355,6 @@ grunt.initConfig({
}
},
csslint: {
- // nothing: []
// TODO figure out what to check for, then fix and enable
base_theme: {
src: expandFiles( "themes/base/*.css" ).filter(function( file ) {
@@ -362,7 +362,7 @@ grunt.initConfig({
return !( /(button|datepicker|core|dialog|theme)\.css$/ ).test( file );
}),
// TODO consider reenabling some of these rules
- rules: {
+ options: {
"adjoining-classes": false,
"import": false,
"outline-none": false,
diff --git a/package.json b/package.json
index 89667bf34..019e715bd 100644
--- a/package.json
+++ b/package.json
@@ -58,7 +58,8 @@
"grunt-contrib-uglify": "0.1.1",
"grunt-contrib-concat": "0.1.3",
"grunt-contrib-qunit": "0.1.1",
- "grunt-css": "0.5.4",
+ "grunt-contrib-csslint": "0.1.0",
+ "grunt-contrib-cssmin": "0.4.2",
"grunt-compare-size": "0.3.1",
"grunt-html": "0.3.3",
"grunt-git-authors": "1.1.0",