grunt-vover-install
v0.0.6
Published
Grunt-plugin for using vover
Downloads
16
Readme
grunt-vover-install
Grunt-plugin for using vover
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-vover-install --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-vover-install');
The "vover_install" task
Overview
In your project's Gruntfile, add a section named vover_install
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
vover_install: {
options: {
// Task-specific options go here.
},
your_target: {
// Target-specific file lists and/or options go here.
},
},
});
Task Options
color
(defaulttrue
): Whether output is colorized. The equivalent ofbower --config.color=<value>
.cwd
(defaultprocess.cwd()
): The directory from which Bower should run. All relative paths in Bower will be calculated according to this. The equivalent ofbower --config.cwd=`pwd`
.production
(defaultfalse
): Do not install projectdevDependencies
. The equivalent ofbower install --production
.interactive
(defaulttrue
): Makes Bower interactive, prompting whenever necessary. The equivalent ofbower --config.interactive=true
.directory
(defaultundefined
): The path in which installed components should be saved. Ifundefined
(or not specified) this defaults in Bower tobower_components
. The equivalent ofbower --config.directory=<dir>
.
Usage Examples
Default Options
In this example, the default options are used to do something with whatever.
grunt.initConfig({
vover_install: {
options: {},
files: {
'dest/default_options': ['src/testing', 'src/123'],
},
},
});
Release History
(Nothing yet)