-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Data Oriented Development with Angularjs
By :

Grunt is a JavaScript task runner. It automates common tasks such as minification, compilation, linting, unit-testing, and so on. We need to create a task file to instruct the test runner to automatically take care of such mundane tasks.
Gulp is described as a streaming build system. It is used as an alternative to Grunt, whereas Grunt relies on configuration over code (meaning the tasks are specified as JSON configuration), Gulp takes the other approach, that is, code over configuration which means various tasks are configured in code.
It's best to install Grunt CLI (command-line interface) using the following code:
npm install –g grunt-cli
Now you can run Grunt from any folder and run the following code:
grunt --help
There's a well-known Unix convention for using command-line arguments by which you can either use the full name of the argument preceded by two dashes --
or by using a single letter abbreviated name of the argument preceded by a single dash -
. So the...
Change the font size
Change margin width
Change background colour