-
Gruntfile has four main parts
- Wrapper Function
- Initialization
- Loading
- Registration
-
Useful commands
grunt --help
- Available Grunt Commandsgrunt --help | grep command_name
- Looks for a specific command in the list of available commands listgrunt concat:foo
- Running a concat task with foo configuration
-
Use ful key values
banner
- The banner is inserted at the top of the outputoptions
- Overwrites the default options for taskFiles
- Array format/ Object format;expand
property
-
Lingo
- Task vs Target
- Task level
options
vs Target leveloptions
-
Useful Grunt API
Last active
August 29, 2015 14:22
-
-
Save kavitshah8/2e43a7eb33b1b0fe2443 to your computer and use it in GitHub Desktop.
Grunt Everyday Commands
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment