<commit_before>'use strict';

/*
 * Require the Fractal module
 */
const fractal = module.exports = require('@frctl/fractal').create();

{{#if projectTitle}}
/*
 * Give your project a title.
 */
fractal.set('project.title', '{{ projectTitle }}');
{{/if}}

{{#if componentsDir}}
/*
 * Tell Fractal where to look for components.
 */
fractal.components.set('path',  __dirname + '/{{ componentsDir }}');
{{/if}}

{{#if docsDir}}
/*
 * Tell Fractal where to look for documentation pages.
 */
fractal.docs.set('path', __dirname + '/{{ docsDir }}');
{{/if}}

{{#if publicDir}}
/*
 * Tell the Fractal web preview plugin where to look for static assets.
 */
fractal.web.set('static.path',  __dirname + '/{{ publicDir }}');
{{/if}}<commit_msg>Fix paths for Windows in generated fractal.js file<commit_after>'use strict';

/*
* Require the path module
*/
const path = require('path');

/*
 * Require the Fractal module
 */
const fractal = module.exports = require('@frctl/fractal').create();

{{#if projectTitle}}
/*
 * Give your project a title.
 */
fractal.set('project.title', '{{ projectTitle }}');
{{/if}}

{{#if componentsDir}}
/*
 * Tell Fractal where to look for components.
 */
fractal.components.set('path', path.join(__dirname, '{{ componentsDir }}'));
{{/if}}

{{#if docsDir}}
/*
 * Tell Fractal where to look for documentation pages.
 */
fractal.docs.set('path', path.join(__dirname, '{{ docsDir }}'));
{{/if}}

{{#if publicDir}}
/*
 * Tell the Fractal web preview plugin where to look for static assets.
 */
fractal.web.set('static.path', path.join(__dirname, '{{ publicDir }}'));
{{/if}}
{'fraction_non_alphanumeric': 0.2011313639220616, 'fraction_numerical': 0.0, 'mean_word_length': 4.271523178807947, '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': '7557375', 'n_tokens_mistral': 535, 'n_tokens_neox': 524, 'n_words': 143}