grunt-hull-components

A grunt task to build hull components.

grunt-hull-components (v0.1.0)

A grunt task to build hull components.

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');

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'
    },
  },
});

Type: Boolean Default value: true

Minify built components.

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

then to run the build task :

grunt hull_components

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.