Skip to content

Instantly share code, notes, and snippets.

View mzgoddard's full-sized avatar

Z Goddard mzgoddard

  • Bocoup
  • Boston, MA
View GitHub Profile
@sankargorthi
sankargorthi / GruntFile.js
Last active January 3, 2016 17:49
Copy component.json to a work folder, parse and then nuke the work folder. I did this because `grunt.file.expand` was too slow on my project structure, especially with all the node_modules folders present under multiple sub-projects.
module.exports = function (grunt) {
'use strict';
require('load-grunt-tasks')(grunt);
grunt.renameTask('clean', 'nuke');
grunt.initConfig({
nuke: {
work: ['work']
},