node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

grunt-ui

grunt-ui

Indirect gruntfile for UI development.

Getting Started

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-ui --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

module.exports = function(grunt) {
 
    // Init main modular gruntfile and return the tasks 
    require('grunt-ui')(grunt);
 
    grunt.config.merge({
        // Include here your plugins configuration 
    });
 
    // Custom tasks 
    grunt.registerTask('task-name', []);
};

Usage

grunt serve

Runs server for development.

grunt serve:dist

Runs server for production

grunt serve:benchmark

Runs server for benchmark

grunt build

Generates the files for distribution

Task targets, files and options may be specified according to the grunt Configuring tasks guide.