grunt-stripmq
Version:
Create a desktop version of your mobile-first CSS
40 lines (33 loc) • 906 B
JavaScript
;
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
all: [
'Gruntfile.js',
'tasks/**/*.js'
],
options: {
jshintrc: '.jshintrc'
}
},
// Configuration to be run (and then tested).
stripmq: {
options: {
width: 1024,
type: 'screen'
},
all: {
files: {
'test/output.css': ['test/input.css']
}
}
}
});
// Actually load this plugin's task(s).
grunt.loadTasks('tasks');
// These plugins provide necessary tasks.
grunt.loadNpmTasks('grunt-contrib-jshint');
// By default, lint and run all tests.
grunt.registerTask('default', ['jshint', 'stripmq']);
};