UNPKG

grunt-ez-frontend

Version:

Easily configure Grunt to concatenate, minimize js files, parse less files, concatenate them with other css files and minimize them using csso and autoprefix

25 lines (19 loc) 511 B
module.exports = function (grunt) { 'use strict' // Enable time-grunt for nice reporting of time spent on grunt tasks require('time-grunt')(grunt); var pkg = grunt.file.readJSON('package.json'); var cfg = { pkg: pkg, bump: { options: { pushTo: 'origin' } } }; // load all grunt tasks without specifying them by name require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); grunt.initConfig(cfg); grunt.registerTask('default', ['bump']) };