<commit_before>#!/usr/bin/env node
'use strict'
const co = require('co')
const cac = require('cac')
const chalk = require('chalk')
const install = require('yarn-install')
const generatePlay = require('./lib/generate-play')
const generateConfig = require('./lib/generate-config')
const updateScripts = require('./lib/update-scripts')

const cli = cac()

cli.command('*', 'Integrate vue-play into your project', () => {
  co(function * () {
    console.log(`${chalk.cyan('>')} Generating ./play folder`)
    yield generatePlay()

    console.log(`${chalk.cyan('>')} Generating ./play.config.js`)
    yield generateConfig()

    console.log(`${chalk.cyan('>')} Updating npm scripts`)
    yield updateScripts()

    console.log(`${chalk.cyan('>')} Installing vue-play`)
    yield install(['vue-play'], { dev: true, stdio: 'pipe' })<commit_msg>install vbuild as well<commit_after>#!/usr/bin/env node
'use strict'
const co = require('co')
const cac = require('cac')
const chalk = require('chalk')
const install = require('yarn-install')
const generatePlay = require('./lib/generate-play')
const generateConfig = require('./lib/generate-config')
const updateScripts = require('./lib/update-scripts')

const cli = cac()

cli.command('*', 'Integrate vue-play into your project', () => {
  co(function * () {
    console.log(`${chalk.cyan('>')} Generating ./play folder`)
    yield generatePlay()

    console.log(`${chalk.cyan('>')} Generating ./play.config.js`)
    yield generateConfig()

    console.log(`${chalk.cyan('>')} Updating npm scripts`)
    yield updateScripts()

    console.log(`${chalk.cyan('>')} Installing vue-play and vbuild (a minute or less, please be patient)`)
    yield install(['vue-play', 'vbuild'], { dev: true, stdio: 'pipe' })
{'fraction_non_alphanumeric': 0.19243986254295534, 'fraction_numerical': 0.0, 'mean_word_length': 4.5993589743589745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '1226682', 'n_tokens_mistral': 572, 'n_tokens_neox': 551, 'n_words': 135}