<commit_before># gulp-steps : 02 - intermediary ([pt-Br](README.pt-Br.md))

> Intermediary usage of Gulp
> - all tasks defined directly on [gulpfile.js](gulpfile.js#L92)
> - utilities code block defined at [gulpfile.js lines 5-53](gulpfile.js#L5-L53)
>   - gulp plugin loaded with [gulp-load-plugins](https://github.com/jackfranklin/gulp-load-plugins) at [gulpfile.js line 7](gulpfile.js#L7)
> - setting centralized in one code block at [gulpfile.js lines 55-90](gulpfile.js#L55-L90)


## Prerequisites

* Must have [Git](http://git-scm.com/) installed

* Must have [node.js (at least v0.10.x)](http://nodejs.org/) installed with npm (Node Package Manager)

* Must have [Gulp.js](http://gulpjs.com/) node package installed globally.  `sudo npm install -g gulp`

* Must have [bower](http://bower.io/) node package installed globally. `sudo npm install -g bower`


## Installation Guide

Enter the following commands in the terminal

```bash
git clone https://github.com/soudev/gulp-steps.git
cd gulp-steps/02
npm install
```


## Commands

> run gulp

```bash
npm start<commit_msg>gulp step 02 - README.md updated<commit_after># gulp-steps : 02 - intermediary ([pt-Br](README.pt-Br.md))

> Intermediary usage of Gulp
> - all tasks defined directly on [gulpfile.js](gulpfile.js#L92)
> - utilities code block defined at [gulpfile.js lines 5-53](gulpfile.js#L5-L53)
>   - gulp plugin loaded with [gulp-load-plugins](https://github.com/jackfranklin/gulp-load-plugins) at [gulpfile.js line 7](gulpfile.js#L7)
> - setting centralized in one code block at [gulpfile.js lines 55-90](gulpfile.js#L55-L90)
> - used [lazypipe](https://github.com/OverZealous/lazypipe) to share and reuse pipeline
>   - jshint at [gulpfile.js line 122](gulpfile.js#L122)
>   - lintspaces at [gulpfile.js line 145](gulpfile.js#L145)


## Prerequisites

* Must have [Git](http://git-scm.com/) installed

* Must have [node.js (at least v0.10.x)](http://nodejs.org/) installed with npm (Node Package Manager)

* Must have [Gulp.js](http://gulpjs.com/) node package installed globally.  `sudo npm install -g gulp`

* Must have [bower](http://bower.io/) node package installed globally. `sudo npm install -g bower`


## Installation Guide

Enter the following commands in the terminal

```bash
git clone https://github.com/soudev/gulp-steps.git
cd gulp-steps/02
npm install
```


## Commands

> run gulp

```bash
npm start
{'fraction_non_alphanumeric': 0.14333612740989102, 'fraction_numerical': 0.026823134953897737, 'mean_word_length': 4.155507559395248, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 18, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '167789', 'n_tokens_mistral': 933, 'n_tokens_neox': 839, 'n_words': 232}