danbev / szero-grunt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

szero-grunt

Coverage Status Build Status Known Vulnerabilities dependencies Status

NPM

Sub Zero dependency search.

Project Info
License: Apache-2.0
Build: npm
Issue tracker: https://github.com/bucharest-gold/szero-grunt/issues
Engines: Node.js 4.x, 5.x, 6.x, 7.x

Installation

$ npm install --save-dev szero-grunt

Usage

Load the plugin

This is done by adding the following line in Gruntfile.js

 grunt.loadNpmTasks('szero');

Configure the plugin

This is done by adding a property to grunt.initConfig in Gruntfile.js

szero: {
  directory: '.',
  ci: false,
  file: false,
  filename: 'szero.txt',
  dev: false,
  summary: false
} 

The above values are the default values and you are only required to list the ones you want to override. If you are happy with the defaults you don't need a configuration at all.

Usage

With the configuration above running is simply a matter of:

$ grunt szero

The configuration options can be overriden on the grunt command line, for example:

$ grunt szero --file --filename=somefile.txt

To see the available options:

$ grunt szero --options

Contributing

Please read the contributing guide

About

License:Other


Languages

Language:JavaScript 100.0%