<commit_before>/* jshint node:true */

'use strict';

var fs = require('fs');
var path = require('path');

module.exports = function() {

  var js_dependencies =[
    'bower_components/ace-builds/src-min-noconflict/ace.js',
  ];

  var css_dependencies = [
    'bower_components/ace-builds/src-min-noconflict/theme-twilight.js',
    'bower_components/ace-builds/src-min-noconflict/mode-markdown.js',
    'bower_components/ace-builds/src-min-noconflict/mode-scheme.js',
    'bower_components/ace-builds/src-min-noconflict/worker-javascript.js'
  ];

  function putThemInVendorDir (filepath) {
    return 'vendor/' + path.basename(filepath);
  }

  return {
    humaName : 'UI.Ace',
    repoName : 'ui-ace',
    inlineHTML : fs.readFileSync(__dirname + '/demo/demo.html'),
    inlineJS : fs.readFileSync(__dirname + '/demo/demo.js'),
    css: css_dependencies.map(putThemInVendorDir).concat(['demo/demo.css']),
    js : js_dependencies.map(putThemInVendorDir).concat(['dist/ui-ace.min.js']),
    tocopy : css_dependencies.concat(js_dependencies)
  };
};<commit_msg>chore(bower): keep the pervious file path in the dist bower.json<commit_after>/* jshint node:true */

'use strict';

var fs = require('fs');
var path = require('path');

module.exports = function() {

  var js_dependencies =[
    'bower_components/ace-builds/src-min-noconflict/ace.js',
  ];

  var css_dependencies = [
    'bower_components/ace-builds/src-min-noconflict/theme-twilight.js',
    'bower_components/ace-builds/src-min-noconflict/mode-markdown.js',
    'bower_components/ace-builds/src-min-noconflict/mode-scheme.js',
    'bower_components/ace-builds/src-min-noconflict/worker-javascript.js'
  ];

  function putThemInVendorDir (filepath) {
    return 'vendor/' + path.basename(filepath);
  }

  return {
    humaName : 'UI.Ace',
    repoName : 'ui-ace',
    inlineHTML : fs.readFileSync(__dirname + '/demo/demo.html'),
    inlineJS : fs.readFileSync(__dirname + '/demo/demo.js'),
    css: css_dependencies.map(putThemInVendorDir).concat(['demo/demo.css']),
    js : js_dependencies.map(putThemInVendorDir).concat(['dist/ui-ace.min.js']),
    tocopy : css_dependencies.concat(js_dependencies),

    bowerData : { main: './ui-ace.js'}
  };
};
{'fraction_non_alphanumeric': 0.1618575293056808, 'fraction_numerical': 0.0, 'mean_word_length': 4.031746031746032, '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': '2695735', 'n_tokens_mistral': 832, 'n_tokens_neox': 806, 'n_words': 102}