• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

atom-grunt-configs

Atom.io plugin to auto-generate separate grunt configuration files from your `Gruntfile.js`.
  • #grunt
  • #gruntfile
  • #gruntplugin
  • #configuration
creynders
0.1.0 652
2
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

grunt-configs package

Auto-generate separate grunt configuration files from your Gruntfile.js.

This plugin will parse your projects Gruntfile.js and automatically generate config files for each task configuration object it finds. See grunt-generate-configs and load-grunt-configs for more information.

It allows you to generate the configuration data in following formats:

  • json
  • javascript
  • cson
  • coffee
  • yaml

Installation

Install this plugin through the command line:

apm install grunt-configs

Or through the Atom Package Manager.

Usage

Select Generate Grunt configs from the contextual or Packages menu. Or use the default short-cut: ctrl-alt-cmd-g

After selecting what file format you want to use, file generation will start.

What now?

After generating the files use load-grunt-configs to load the configuration files and configure Grunt.

# install load-grunt-configs
npm install load-grunt-configs --save-dev

And update your Gruntfile.js

    //loads the various task configuration files 
    var configs = require('load-grunt-configs')(grunt);
    grunt.initConfig(configs); //this is where the big, fat grunt configuration object normally is declared 

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by