From b8a23eb1420bc98020e657080dffe5fa19e5dcd1 Mon Sep 17 00:00:00 2001 From: Amos Haviv Date: Sun, 13 Oct 2013 09:25:42 +0300 Subject: [PATCH] Removing Grunt Task --- README.md | 8 ++++++++ gruntfile.js | 4 ---- package.json | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a4a624c10f..c28d38db81 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,14 @@ MEAN is a boilerplate that provides a nice starting point for [MongoDB](http://w * Node.js - Download and Install [Node.js](http://www.nodejs.org/download/). You can also follow [this gist](https://gist.github.com/isaacs/579814) for a quick and easy way to install Node.js and npm * MongoDB - Download and Install [MongoDB](http://www.mongodb.org/downloads) - Make sure it's running on the default port (27017). +### Tools Prerequisites +* NPM - Node.js package manager, should be installed when you install node.js. +* Bower - Web package manager, installing [Bower](http://bower.io/) is simple when you have npm: + +``` +$ npm install -g bower +``` + ### Optional * Grunt - Download and Install [Grunt](http://gruntjs.com). diff --git a/gruntfile.js b/gruntfile.js index c4a8e2f62e..35bf3dc2b5 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -69,7 +69,6 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-mocha-test'); grunt.loadNpmTasks('grunt-nodemon'); grunt.loadNpmTasks('grunt-concurrent'); - grunt.loadNpmTasks('grunt-bower-task'); //Making grunt default to force in order not to break the project. grunt.option('force', true); @@ -79,7 +78,4 @@ module.exports = function(grunt) { //Test task. grunt.registerTask('test', ['mochaTest']); - - //Bower task. - grunt.registerTask('install', ['bower']); }; diff --git a/package.json b/package.json index 72eddf4900..55e35cb26f 100755 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "scripts": { "start": "node node_modules/grunt-cli/bin/grunt", "test": "node node_modules/grunt-cli/bin/grunt test", - "postinstall": "node node_modules/grunt-cli/bin/grunt install" + "postinstall": "bower install" }, "dependencies": { "express": "latest",