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

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:

主站蜘蛛池模板: 周宁县| 贺兰县| 宜昌市| 桃源县| 文化| 华蓥市| 西城区| 江口县| 安庆市| 湛江市| 潞西市| 江城| 思茅市| 盐山县| 林口县| 湖口县| 普宁市| 社旗县| 洛宁县| 鄢陵县| 兴山县| 闽侯县| 将乐县| 吉水县| 乐平市| 绥棱县| 鄱阳县| 石河子市| 凉山| 陇南市| 宝兴县| 化州市| 高阳县| 和田县| 盐亭县| 铁岭县| 桃园市| 丹棱县| 深圳市| 五寨县| 资中县|