How to install JSHint npm install grunt-contrib-jshint–save-dev
Usages of JSHint
- Ignoring the specific warnings
- Save the loggings
- We can defined the various configurations
How to install Uglify ? npm install grunt-contrib-uglify –save -dev
Usages of Uglify
- Variable renaming called mangling
This configuration will turn on object property name mangling, but not mangle built-in browser object properties. Additionally, variables and object properties listed in the myExceptionsFile.json will be mangled. For more info, on the format of the exception file format please see the UglifyJS docs.
This configuration will compress and mangle the input files using the default options.
USed for debugging purpose the good look like readable format
How to install clean ? npm install grunt-contrib-clean –save -dev
Usages of Clean
- How to forcefully removing files before run
- How to log render output
Used for debugging purpose the good look like readable format