From 1913a38341082f3b82c4ff4d2eb6d5324f6590c7 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Tue, 9 Jun 2015 21:23:47 -0400 Subject: [PATCH] Revert "require grunt libs" This reverts commit ec16656e0ac2967130b6b3316b7482a9071a9584. --- boilerplate/Gruntfile.coffee | 4 ++++ boilerplate/package.json | 11 ++++++++++- index.js | 14 +------------- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/boilerplate/Gruntfile.coffee b/boilerplate/Gruntfile.coffee index 7d3b05c1..43bfd86c 100644 --- a/boilerplate/Gruntfile.coffee +++ b/boilerplate/Gruntfile.coffee @@ -51,3 +51,7 @@ module.exports = (grunt) -> ) ) + # loading external tasks (aka: plugins) + # Loads all plugins that match "grunt-", in this case all of our current plugins + require('matchdep').filterAll('grunt-*').forEach(grunt.loadNpmTasks) + diff --git a/boilerplate/package.json b/boilerplate/package.json index 8d7913a1..485b332f 100644 --- a/boilerplate/package.json +++ b/boilerplate/package.json @@ -10,6 +10,15 @@ "license": "ISC", "homepage": "", "devDependencies": { - "embark-framework": "^0.2.0" + "embark-framework": "/Users/iurimatias/Projects/embark-framework", + "grunt-contrib-clean": "^0.6.0", + "grunt-contrib-coffee": "^0.13.0", + "grunt-contrib-concat": "^0.5.1", + "grunt-contrib-copy": "^0.8.0", + "grunt-contrib-uglify": "^0.9.1", + "grunt-contrib-watch": "^0.6.1", + "grunt": "^0.4.5", + "grunt-cli": "^0.1.13", + "matchdep": "^0.3.0" } } diff --git a/index.js b/index.js index a76499bb..b57daf20 100644 --- a/index.js +++ b/index.js @@ -7,16 +7,4 @@ var express = require('express'); var compression = require('compression'); var commander = require('commander'); var wrench = require('wrench'); - -var grunt = require('grunt'); -var grunt_cli = require('grunt-cli'); -var grunt_clean = require('grunt-contrib-clean'); -var grunt_coffee = require('grunt-contrib-coffee'); -var grunt_concat = require('grunt-contrib-concat'); -var grunt_copy = require('grunt-contrib-copy'); -var grunt_uglify = require('grunt-contrib-uglify'); -var grunt_watch = require('grunt-contrib-watch'); -var matchdep = require('matchdep'); - -console.log("loaded embark-framework"); - +console.log("dude!!!");