scripts/utils.js
function copyReadmeMd(sourceReadmeMd) {
  const libReadmeFile = path.resolve(__dirname, '../src/ng5-slider/README.md');

  const sourceReadme = fs.readFileSync(sourceReadmeMd, { encoding: 'utf8'});
  fs.writeFileSync(libReadmeFile, sourceReadme, {encoding: 'utf8'});
}
function copyReadmeMd(sourceReadmeMd) {
  const libReadmeFile = path.resolve(__dirname, '../src/ng5-slider/README.md');

  const sourceReadme = fs.readFileSync(sourceReadmeMd, { encoding: 'utf8'});
  fs.writeFileSync(libReadmeFile, sourceReadme, {encoding: 'utf8'});
}
Copy README.md from given location to the library directory