Skip to content

ref 01 install node

Edward Comley edited this page Apr 19, 2016 · 1 revision

Install Node

Node.js (npm)

brew install node

Grunt

npm install -g grunt-cli

Integration to your local development

Create a package.json

npm init

Press enter until process finishes.

Add the following dependencies to the created package.json:

“dependencies”: {
    “grunt”: “^0.4.5”,
    “grunt-contrib-concat”: “^0.5.1”,
    “grunt-contrib-copy”: “^0.8.0”,
    “grunt-contrib-sass”: “^0.9.2”,
    “grdunt-contrib-watch”: “^0.6.1”,
    “grunt-css-count”: “^0.3.0”,
    “grunt-contrib-uglify”: “^0.9.1”
  }

Install dependencies:

npm update

You can .gitignore the node_modules directory which has just been created.

Integration

Clone this wiki locally