grunt-hull-components

0.2.0-beta • Public • Published

grunt-hull-components (v0.1.0)

A grunt task to build hull components.

Getting Started

This plugin requires Grunt ~0.4.0

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-hull-components --save-dev

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

grunt.loadNpmTasks('grunt-hull-components');

The "hull_components" task

Overview

In your project's Gruntfile, add a section named hull_components to the data object passed into grunt.initConfig().

grunt.initConfig({
  hull_components: {
    options: {
      optimize: true
    },
    your_target: {
      src: 'src',
      dest: 'dist'
    },
  },
});

Options

options.optimize

Type: Boolean Default value: true

Minify built components.

Usage Examples

grunt.initConfig({
  hull_components: {
    options: {},
    components: {
      src: 'src',
      dest: 'dist'
    },
  },
});

then to run the build task :

grunt hull_components

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

0.1.0 First release (2014-05-18)

Readme

Keywords

Package Sidebar

Install

npm i grunt-hull-components

Weekly Downloads

3

Version

0.2.0-beta

License

none

Last publish

Collaborators

  • sbellity
  • xcambar