0.1.6 • Published 10 years ago

grunt-html-upgrader v0.1.6

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

grunt-html-upgrader

Upgrade your html files with Grunt!

Getting Started

This plugin requires Grunt ~0.4.2

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-html-upgrader --save-dev

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

grunt.loadNpmTasks('grunt-html-upgrader');

The "html_upgrader" task

Overview

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

grunt.initConfig({
  html_upgrader: {
    options: {
      type: 'bootstrap2-3' //available ['bootsrap2-3', 'fontAwesome3-4']
    },
    main: {
      files: {
        'dest/path': ['path/to/my/html/**/*.html']
      }
    },
  },
});

Upgraders

Status

This is still unstable and a WIP.

Any help with adding more upgrade scripts and improving the project is much appreciated.

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.0

10 years ago