mirror of https://github.com/ColorlibHQ/AdminLTE
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
494 B
22 lines
494 B
// AdminLTE Gruntfile
|
|
|
|
module.exports = function (grunt) {
|
|
|
|
'use strict';
|
|
// Load all grunt tasks
|
|
var configs = require('load-grunt-config')(grunt,{
|
|
configPath: __dirname + '/grunt-tasks',
|
|
data:{
|
|
pkg: grunt.file.readJSON("package.json")
|
|
}
|
|
});
|
|
|
|
grunt.initConfig(configs);
|
|
|
|
// Linting task
|
|
grunt.registerTask('lint', ['jshint', 'csslint', 'bootlint']);
|
|
|
|
// The default task (running "grunt" in console) is "watch"
|
|
grunt.registerTask('default', ['watch']);
|
|
};
|