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

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:

主站蜘蛛池模板: 开阳县| 聂荣县| 灵宝市| 灵武市| 交口县| 元氏县| 上林县| 靖江市| 平武县| 普兰店市| 碌曲县| 云龙县| 东源县| 孝义市| 隆回县| 邮箱| 巢湖市| 长宁县| 英超| 彭山县| 肥乡县| 资讯 | 塘沽区| 大竹县| 水城县| 桓仁| 绥芬河市| 嘉善县| 潮安县| 南澳县| 西峡县| 菏泽市| 冕宁县| 阜城县| 满城县| 晴隆县| 福泉市| 万源市| 辽中县| 乌鲁木齐县| 临汾市|