官术网_书友最值得收藏!

Installing Yeoman and Grunt

Yeoman is the scaffolding tool for web applications, and easily kick starts your new web project development, ensuring the best practices are covered. This means that you don’t have to go through the initial project setup tasks you would normally go through to get started; instead, get ready to use application structures along with modular architecture.

Grunt is a JavaScript task runner, a tool used to automatically perform frequent tasks such as minification, compilation, unit testing, linting (the process of running a program that will analyze code for potential errors), and so on. It uses a command-line interface to run custom tasks defined in a file (known as a Gruntfile). Grunt helps in automating the tedious non-functional activities such as minimization, compilation, unit testing, and linting. It's much easier than the method we have been using for years.

We can install them together using the following command: 

npm -g install yo grunt-cli

This should complete the installation, as shown in the following screenshot:

主站蜘蛛池模板: 连南| 容城县| 贵州省| 边坝县| 桃园市| 蒲城县| 郑州市| 章丘市| 浦东新区| 海林市| 木里| 昌江| 大姚县| 长顺县| 上杭县| 易门县| 都兰县| 瓦房店市| 库尔勒市| 徐闻县| 务川| 承德市| 南澳县| 丰宁| 托里县| 绥滨县| 利辛县| 衢州市| 红原县| 来凤县| 庆云县| 昭苏县| 临朐县| 木兰县| 海丰县| 新津县| 衢州市| 略阳县| 荔浦县| 大同县| 萍乡市|