<commit_before>#!/usr/bin/env zsh

set -e

npm_modules=()

command -v npm >/dev/null 2>&1 || exit 0

npm_modules+=('npm')
npm_modules+=('bower')
npm_modules+=('ember-cli')
npm_modules+=('grunt-cli')
npm_modules+=('gulp')

for module in $npm_modules; do
  npm list -g $module || npm install -g $module
  if [[ "$1" == 'update' ]]; then
    npm update -g $module<commit_msg>Add eslint to npm_modules.<commit_after>#!/usr/bin/env zsh

set -e

npm_modules=()

command -v npm >/dev/null 2>&1 || exit 0

npm_modules+=('npm')
npm_modules+=('bower')
npm_modules+=('ember-cli')
npm_modules+=('eslint')
npm_modules+=('grunt-cli')
npm_modules+=('gulp')

for module in $npm_modules; do
  npm list -g $module || npm install -g $module
  if [[ "$1" == 'update' ]]; then
    npm update -g $module
{'fraction_non_alphanumeric': 0.19846350832266324, 'fraction_numerical': 0.010243277848911651, 'mean_word_length': 4.585714285714285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '1625973', 'n_tokens_mistral': 332, 'n_tokens_neox': 299, 'n_words': 79}