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

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:

主站蜘蛛池模板: 峨边| 九龙县| 慈利县| 崇阳县| 清涧县| 长兴县| 黄冈市| 镇平县| 青州市| 竹溪县| 慈利县| 光泽县| 合肥市| 宜兴市| 廊坊市| 伽师县| 慈利县| 深泽县| 洛宁县| 肥乡县| 灵川县| 铁力市| 青神县| 行唐县| 大丰市| 宾川县| 抚远县| 房产| 巢湖市| 昌江| 陈巴尔虎旗| 广南县| 于田县| 开鲁县| 根河市| 泉州市| 怀化市| 大邑县| 榆林市| 灌阳县| 莱阳市|