<commit_before>import jsdoc from 'gulp-jsdoc3';
import gulp from 'gulp';
import watch from 'gulp-watch';
import config from '../jsdoc';
import less from 'gulp-less';
import del from 'del';

gulp.task('docs', cb => {
  del('./docs/public/*.html');

  gulp.src('./docs/template/static/less/*.less')
    .pipe(less())
    .pipe(gulp.dest('./docs/public/styles/'));

  gulp.src(['./docs/data/**/*', './src/**/*.js']) // ['README.md', './src/**/*.js']
    .pipe(jsdoc(config, cb));
});

gulp.task('docs:watch', ['docs'], () => {
  let i = 0;

  watch([
    './docs/template/**/*.less'
  ], () => {
    console.log(`update styles #${i++}`);

    gulp.src('./docs/template/static/less/*.less')
      .pipe(less())
      .pipe(gulp.dest('./docs/public/styles/'));
  });

  return watch([
    './docs/template/**/*.tmpl',
    './docs/data/**/*',
    './src/core/*.js'
  ], () => {
    del('./docs/public/*.html');
    console.log(`update #${i++}`);

    gulp.src(['./docs/data/**/*.md', './src/core/Component.js', './src/core/CameraComponent.js'])
      .pipe(jsdoc(config));
  });
});
<commit_msg>Sets back to build Component.js only #189<commit_after>import jsdoc from 'gulp-jsdoc3';
import gulp from 'gulp';
import watch from 'gulp-watch';
import config from '../jsdoc';
import less from 'gulp-less';
import del from 'del';

gulp.task('docs', cb => {
  del('./docs/public/*.html');

  gulp.src('./docs/template/static/less/*.less')
    .pipe(less())
    .pipe(gulp.dest('./docs/public/styles/'));

  gulp.src(['./docs/data/**/*', './src/core/Component.js']) // ['README.md', './src/**/*.js']
    .pipe(jsdoc(config, cb));
});

gulp.task('docs:watch', ['docs'], () => {
  let i = 0;

  watch([
    './docs/template/**/*.less'
  ], () => {
    console.log(`update styles #${i++}`);

    gulp.src('./docs/template/static/less/*.less')
      .pipe(less())
      .pipe(gulp.dest('./docs/public/styles/'));
  });

  return watch([
    './docs/template/**/*.tmpl',
    './docs/data/**/*',
    './src/core/*.js'
  ], () => {
    del('./docs/public/*.html');
    console.log(`update #${i++}`);

    gulp.src(['./docs/data/**/*.md', './src/core/Component.js', './src/core/CameraComponent.js'])
      .pipe(jsdoc(config));
  });
});

{'fraction_non_alphanumeric': 0.29196750902527074, 'fraction_numerical': 0.00315884476534296, 'mean_word_length': 2.8224137931034483, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '3770416', 'n_tokens_mistral': 826, 'n_tokens_neox': 821, 'n_words': 128}