<commit_before>const {rm} = require('shelljs')

rm('-rf', [
  'package-lock.json'
])<commit_msg>Fix preinstall script (#974)<commit_after>const {exec} = require('child_process')
const os = require('os')
const platform = os.platform()
console.log('platform:', platform)
const cmd = platform.startsWith('win')
  ? 'del /f package-lock.json'
  : 'rm -rf package-lock.json'

exec(cmd)
{'fraction_non_alphanumeric': 0.1868421052631579, 'fraction_numerical': 0.007894736842105263, 'mean_word_length': 5.684210526315789, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '718401', 'n_tokens_mistral': 135, 'n_tokens_neox': 132, 'n_words': 29}