0% found this document useful (0 votes)
535 views2 pages

Automation With Grunt JS

Grunt is a JavaScript task runner that helps automate mundane, repetitive tasks like minifying files, compiling Sass to CSS, concatenating files, etc. It uses plugins called grunt-contrib plugins to perform tasks. The Gruntfile.js file is used to configure plugins and register tasks. There are over 6000 plugins available to add functionality like image optimization, notification of changes, file watching, cleaning files, and more. Users can also create their own plugins and publish them for others to use.

Uploaded by

vijay kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
535 views2 pages

Automation With Grunt JS

Grunt is a JavaScript task runner that helps automate mundane, repetitive tasks like minifying files, compiling Sass to CSS, concatenating files, etc. It uses plugins called grunt-contrib plugins to perform tasks. The Gruntfile.js file is used to configure plugins and register tasks. There are over 6000 plugins available to add functionality like image optimization, notification of changes, file watching, cleaning files, and more. Users can also create their own plugins and publish them for others to use.

Uploaded by

vijay kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

1.

Presence of _______ is must is to proceed ahead with installation of grunt


--[Link]

2. Registering of tasks happens within


--Gruntfile

3. The 3 main actions to be performed in gruntfile include


--Configurations , loading plug-ins, Register tasks

4. Which takes care of performing the repetitive mundane work in [Link]?


--Task runner

5. [Link] helps with simplification through automation. Is this true or false ?


--True

6. The number of plug-ins available in grunt is around


--6000+

7. CSS with superpowers' : This refers to _____________


--SASS

8. Grunt does not allow users to add their custom developed plug-ins and publish
them to npm.
--False

9. Grunt prefers____ model approach to coding.


--Configuration

[Link] can one reduce the size of images using grunt?


-- grunt-contrib-imagemin

[Link] installing any plug-ins, the file which would reflect the dependency
changes automatically___________
--[Link]

[Link] plug-in takes care of sending automatic notifications?


--grunt-notify

[Link] grunt plug-in would be of use if you would like to monitor set of .js
files and take any appropriate actions if any changes happens to them?
--Watch

[Link] installing the required plug-ins, the next activity would be _______
--Add the plug-in in gruntfile through loadNpmTasks

[Link] plug-in assists with cleaning of the unwanted folders & files
--grunt-contrib-clean

[Link] grunt plug-in to remove any unwanted CSS within project is _________
--grunt-uncss

[Link] in gruntfile becomes the __________


--Commented Header of the file

[Link] final step of creating a plug-in is


--publish

[Link] plug-in assists with injection of bower dependency code ?


--grunt-wiredep
[Link] one create his own plug-in and add to the grunt library ?
--Yes

[Link] installing [Link], the g in "$ npm install grunt-cli -g" represents
--Global

[Link] of these is not an example of the operations of the Task runner?


--Prefixing CSS

[Link] installing [Link], the cli in "$ npm install grunt-cli -g" represents
--Command line interface

[Link] maintained plug-ins carry prefix _________


contrib

[Link] plug-in helps with revisioning the files ?


--grunt-filerev

[Link] expands for


--Syntactically Awesome Stylesheets

You might also like