Gruntfile.js
function buildMixinsDocsList() {
  return fs.readdirSync('packages/basic-component-mixins/src').filter(file => {
    return file.indexOf('.js') == file.length - 3;
  }).map(file => {
    const fileRoot = file.replace('.js', '');
    return {
      src: `packages/basic-component-mixins/src/${file}`,
      dest: `packages/basic-component-mixins/docs/${fileRoot}.md` };
  });
}
function buildMixinsDocsList() {
  return fs.readdirSync('packages/basic-component-mixins/src').filter(file => {
    return file.indexOf('.js') == file.length - 3;
  }).map(file => {
    const fileRoot = file.replace('.js', '');
    return {
      src: `packages/basic-component-mixins/src/${file}`,
      dest: `packages/basic-component-mixins/docs/${fileRoot}.md` };
  });
}
function buildMixinsDocsList ( ) { return fs . readdirSync ( 'packages/basic-component-mixins/src' ) . filter ( file => { return file . indexOf ( '.js' ) == file . length - 3 ; } ) . map ( file => { const fileRoot = file . replace ( '.js' , '' ) ; return { src : ` ${ file } ` , dest : ` ${ fileRoot } ` } ; } ) ; }
Build the portion of docsList that represents the individual source files within the basic-component-mixins directory.
Build the portion of docsList that represents the individual source files within the basic - component - mixins directory .