From 239ce61de5fe7e14cfbb3c7f1058e7239ebd2833 Mon Sep 17 00:00:00 2001 From: Liran Tal Date: Fri, 17 Jun 2016 18:08:52 +0300 Subject: [PATCH] feat(sass): replacing grunt-contrib-sass with grunt-sass (#1363) * replacing grunt-contrib-sass with grunt-sass which doesnt require the ruby dependency anymore * updating README instructions to remove any reference to grunt-contrib-sass, ruby or gem installation for sass compilation --- README.md | 13 +++---------- package.json | 2 +- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 7c24f06736..114887fb8d 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,8 @@ Before you begin we recommend you read about the basic building blocks that asse Make sure you have installed all of the following prerequisites on your development machine: * Git - [Download & Install Git](https://git-scm.com/downloads). OSX and Linux machines typically have this already installed. * Node.js - [Download & Install Node.js](https://nodejs.org/en/download/) and the npm package manager. If you encounter any problems, you can also use this [GitHub Gist](https://gist.github.com/isaacs/579814) to install Node.js. - * Node v5 IS NOT SUPPORTED AT THIS TIME! + * Node v5 IS NOT SUPPORTED AT THIS TIME! * MongoDB - [Download & Install MongoDB](http://www.mongodb.org/downloads), and make sure it's running on the default port (27017). -* Ruby - [Download & Install Ruby](https://www.ruby-lang.org/en/documentation/installation/) * Bower - You're going to use the [Bower Package Manager](http://bower.io/) to manage your front-end packages. Make sure you've installed Node.js and npm first, then install bower globally using npm: ```bash @@ -34,12 +33,6 @@ $ npm install -g bower $ npm install -g grunt-cli ``` -* Sass - You're going to use [Sass](http://sass-lang.com/) to compile CSS during your grunt task. Make sure you have ruby installed, and then install Sass using gem install: - -```bash -$ gem install sass -``` - * Gulp - (Optional) You may use Gulp for Live Reload, Linting, and SASS or LESS. ```bash @@ -173,7 +166,7 @@ or $ gulp default ``` -The server is now running on http://localhost:3000 if you are using the default settings. +The server is now running on http://localhost:3000 if you are using the default settings. ### Running Gulp Development Environment @@ -273,7 +266,7 @@ for hosting applications in the cloud. After you have an account follow the bel * Deploy MEANJS to Cloud Foundry * `$ cf push` -After `cf push` completes you will see the URL to your running MEANJS application +After `cf push` completes you will see the URL to your running MEANJS application (your URL will be different). requested state: started diff --git a/package.json b/package.json index fe1a4dae1f..609aa683be 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,6 @@ "grunt-contrib-csslint": "~0.4.0", "grunt-contrib-cssmin": "~0.12.3", "grunt-contrib-less": "~1.0.1", - "grunt-contrib-sass": "~1.0.0", "grunt-contrib-uglify": "~1.0.0", "grunt-contrib-watch": "~0.6.1", "grunt-env": "~0.4.4", @@ -89,6 +88,7 @@ "grunt-nodemon": "~0.4.0", "grunt-protractor-coverage": "~0.2.15", "grunt-protractor-runner": "~3.0.0", + "grunt-sass": "^1.2.0", "gulp": "~3.9.1", "gulp-angular-templatecache": "~1.8.0", "gulp-autoprefixer": "~3.1.0",