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

set -e # exit when error

printf "\nLaunching dev environment\n"

VERSION=$(json version < package.json)"-DEV"

npm install &&
cd docs &&
bundle install &&
NODE_ENV=development VERSION=$VERSION bundle exec middleman<commit_msg>chore(dev): npm install before using json<commit_after>#!/usr/bin/env bash

set -e # exit when error

printf "\nLaunching dev environment\n"

npm install

VERSION=$(json version < package.json)"-DEV"

cd docs &&
bundle install &&
NODE_ENV=development VERSION=$VERSION bundle exec middleman
{'fraction_non_alphanumeric': 0.11775362318840579, 'fraction_numerical': 0.0, 'mean_word_length': 5.284090909090909, 'pattern_counts': {'":': 0, '<': 5, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7007547', 'n_tokens_mistral': 177, 'n_tokens_neox': 167, 'n_words': 54}