Summary

In this chapter, I hope to have showed you the power of automation, and how we can use scripts to make our life easier. You have learned about RequireJS, and how it can be used to manage the dependencies between your modules, and help you generate the production code (packed and minified).

You have also seen how to run your specs headless, and also how to run them before the build guaranteeing that no break spec should go to production.

We have also seen how to have the specs running automatically, letting us focus on the code editor all the time.

Be sure to check the bonus chapter on Continuous Integration with Travis-CI, to learn how to run yours specs in the cloud on every push to the project's source repository.

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

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