Файл: themes/classic/js/bgrins-spectrum/grunt.js
Строк: 29
<?php
module.exports = function(grunt) {
grunt.initConfig({
lint: {
all: ['spectrum.js']
},
jshint: {
options: {
browser: true,
sub: true
},
globals: {
jQuery: true
}
},
qunit: {
all: ['test/index.html']
},
min: {
'build/spectrum-min.js': ['spectrum.js']
}
});
grunt.registerTask('docco', 'Annotate the source.', function(options) {
grunt.utils.spawn({
cmd: "docco",
args: ['-o', 'build', 'spectrum.js']
});
});
grunt.registerTask('default', 'lint qunit');
grunt.registerTask('build', 'lint qunit min docco');
};
?>