From ec16656e0ac2967130b6b3316b7482a9071a9584 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Tue, 9 Jun 2015 20:42:30 -0400 Subject: [PATCH] require grunt libs --- boilerplate/Gruntfile.coffee | 4 ---- boilerplate/package.json | 11 +---------- index.js | 14 +++++++++++++- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/boilerplate/Gruntfile.coffee b/boilerplate/Gruntfile.coffee index 43bfd86c..7d3b05c1 100644 --- a/boilerplate/Gruntfile.coffee +++ b/boilerplate/Gruntfile.coffee @@ -51,7 +51,3 @@ 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 485b332f..8d7913a1 100644 --- a/boilerplate/package.json +++ b/boilerplate/package.json @@ -10,15 +10,6 @@ "license": "ISC", "homepage": "", "devDependencies": { - "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" + "embark-framework": "^0.2.0" } } diff --git a/index.js b/index.js index b57daf20..a76499bb 100644 --- a/index.js +++ b/index.js @@ -7,4 +7,16 @@ var express = require('express'); var compression = require('compression'); var commander = require('commander'); var wrench = require('wrench'); -console.log("dude!!!"); + +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"); +