Removing Grunt Task

This commit is contained in:
Amos Haviv
2013-10-13 09:25:42 +03:00
parent 40a643a246
commit b8a23eb142
3 changed files with 9 additions and 5 deletions

View File

@@ -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).

View File

@@ -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']);
};

View File

@@ -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",