-
Book Overview & Buying
-
Table Of Contents
Building Scalable Apps with Redis and Node.js
By :
We have some new packages to install. All the packages are related to Grunt, which is a JavaScript automated task runner that is based on Node.js. We will define tasks and Grunt will carry them out. We will use the following versions:
grunt-cli: 0.1.13
grunt-contrib-clean: 0.5.0
grunt-contrib-concat: 0.4.0
grunt-contrib-jshint: 0.8.0
grunt-contrib-uglify: 0.4.0
grunt-preprocess: 4.0.0
grunt-contrib-nodeunit: 0.4.0
istanbul: 0.3.0
nodeunit: 0.9.0
Add these dependencies to package.json. This time we will create a new property named devDependencies. It is an object just like dependencies that is meant for development or testing. In package.json, devDependencies should look as follows:
"devDependencies": {
"grunt-cli": "0.1.13",
"grunt-contrib-clean": "0.5.0",
"grunt-contrib-concat": "0.4.0",
"grunt-contrib-jshint": "0.8.0",
"grunt-contrib-nodeunit": "0.4.0",
"grunt-contrib-uglify": "0.4.0",
"grunt-preprocess": "4.0.0",
"istanbul": "0.3.0"...
Change the font size
Change margin width
Change background colour