0.1.27 • Published 10 years ago

grunt-mt-style-guide v0.1.27

Weekly downloads
-
License
-
Repository
-
Last release
10 years ago

grunt-mt-style-guide

Medtelligent _static templating Grunt task

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-mt-style-guide --save

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

grunt.loadNpmTasks('grunt-mt-style-guide');

The "mt_style_guide" task

Overview

Scrapes comments from specified files, then stores said comments in a JSON file. Currently, that JSON file is stored, relative to the Gruntfile, at data/components.json.

Comments are scrapable from the following file types:

  • .html
  • .js
  • .scss
  • .less
  • .hbs

Usage Examples

grunt.initConfig({
    mt_style_guide: {
        main: {
            files: [
                {
                    expand: true,
                    cwd: 'src/app/assets/scss',
                    src: [
                        '**/*.scss'
                    ]
                }
            ]
        }
    }
});

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

(Nothing yet)

0.1.27

10 years ago

0.1.26

10 years ago

0.1.25

10 years ago

0.1.24

10 years ago

0.1.23

10 years ago

0.1.22

10 years ago

0.1.21

10 years ago

0.1.20

10 years ago

0.1.19

10 years ago

0.1.18

10 years ago

0.1.17

10 years ago

0.1.16

10 years ago

0.1.15

10 years ago

0.1.14

10 years ago

0.1.13

10 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago