mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-05 19:51:08 +01:00
Removing Grunt Task
This commit is contained in:
@@ -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).
|
||||
|
||||
|
||||
@@ -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']);
|
||||
};
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user