0.1.15 • Published 9 years ago

grunt-clean-comment v0.1.15

Weekly downloads
3
License
-
Repository
github
Last release
9 years ago

grunt-clean-comment

The best Grunt plugin ever.

Getting Started

This plugin requires Grunt ~0.4.5

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-clean-comment --save-dev

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

grunt.loadNpmTasks('grunt-clean-comment');

The "cleancomment" task

Overview

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

grunt.initConfig({
    cleancomment: {
       default_options: { 
         files: {
           'customname': ['test/fixtures/testing', 'test/fixtures/123']
         }
       }
     }
});

Options

    cleancomment: {
      default_options: {
        options: {
          type: "css"
        },
        files: {
          'customname': ['test/fixtures/testing', 'test/fixtures/123']
        }
      }
    }

options.type == "css" Allow reserved spaces

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

commit 36e0f17fef5dee320a6329ee5bbc709a6a121d6d fix options.type undefine bug

commit 9b37b7d95e03b23578c705c016ff1ab265dc9b28 add option.type for clean js or css file

commit a696389508287a99a7687139f7cc7fe3845f9bfd grunt.loadNpmTasks name is change

0.1.15

9 years ago

0.1.14

9 years ago

0.1.13

9 years ago

0.1.12

9 years ago

0.1.11

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago