1.1.2 • Published 6 years ago

grunt-fontello-update v1.1.2

Weekly downloads
11
License
MIT
Repository
github
Last release
6 years ago

grunt-fontello-update

Grunt task for updating Fontello files.

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-fontello-update --save-dev

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

grunt.loadNpmTasks('grunt-fontello-update');

The "fontelloUpdate" task

Overview

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

grunt.initConfig({
  fontelloUpdate: {
    options: {
      config: 'fontello.json',
    },
  },
});

Options

options.config

Type: String Default value: 'config.json'

The Fontello config file to update.

options.fonts

Type: String Default value: 'fonts'

Destination directory for the font files in the Fontello package.

options.css

Type: String Default value: 'css'

Destination directory for the css files in the Fontello package.

options.overwrite

Type: Boolean Default value: true

Overwrite existing files.

options.open

Type: Boolean Default value: false

Open the package on the fontello website.

options.session

Type: String Default value: null

The session to use.

options.updateConfigOnly

Type: Boolean Default value: false

Only update the config file.

Release History

(Nothing yet)

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

9 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.2.3

10 years ago

0.2.2

11 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago