What’s Next?

In this chapter we looked at the basics of creating our own Grunt tasks, handling arguments for tasks, and adding some documentation along the way. Before moving on, try the following:

  • Add documentation to the other tasks. Be sure to test each task to make sure you got the syntax right!

  • Create a new task that multiplies two numbers. Be sure to add documentation.

  • Create a new folder called learning_grunt and then generate a new package.json file. Then create a new Gruntfile in the project, with a default task that prints out “It worked!”

Next we’ll look at how we can use built-in Grunt utilities to work with the file system.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.252.8