<commit_before># JavaScript Development
JavaScript is built and minified using gulp.

Therefore you need to install nodejs 5.6+ and npm. Then use npm to install **gulp-cli**:

	sudo npm -g install gulp-cli

Then install the local dependencies by running:

	npm install

## Tasks
The following tasks are available:

* **Build the JavaScript**: 

        gulp
  
* **Watch for changes and build JavaScript**: 

        gulp watch
  
* **Run JavaScript unit tests**: 

        gulp karma

* **Watch for changes and run JavaScript unit tests**: 
 
        gulp watch-karma
   
* **Watch for changes and run PHP unit tests**: 

        gulp watch-phpunit<commit_msg>requirement update<commit_after># JavaScript Development
JavaScript is built and minified using gulp.

Therefore you need to install **Node.js 5.6+ and npm**. Then use npm to install **gulp-cli**:

	sudo npm -g install gulp-cli

Then install the local dependencies by running:

	npm install

## Tasks
The following tasks are available:

* **Build the JavaScript**:

        gulp

* **Watch for changes and build JavaScript**:

        gulp watch

* **Run JavaScript unit tests**:

        gulp karma

* **Watch for changes and run JavaScript unit tests**:

        gulp watch-karma

* **Watch for changes and run PHP unit tests**:

        gulp watch-phpunit
{'fraction_non_alphanumeric': 0.08263836239575435, 'fraction_numerical': 0.003032600454890068, 'mean_word_length': 3.099378881987578, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4767239', 'n_tokens_mistral': 386, 'n_tokens_neox': 350, 'n_words': 166}