grunt-fontello-update
v1.1.2
Published
Grunt task for updating Fontello files.
Downloads
15
Readme
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)