start-read

v0.3.0
Read task for Start
start start-task

start-read

npm linux build windows build coverage deps

Read task for Start.

Install

npm install --save-dev start-read
# or
yarn add --dev start-read

Usage

import start from 'start';
import reporter from 'start-pretty-reporter';
import files from 'start-files';
import clean from 'start-clean';
import read from 'start-read';
import babel from 'start-babel';
import write from 'start-write';

export const build = () => start(reporter())(
  files('build/'),
  clean(),
  files('lib/**/*.js'),
  read(),
  babel(),
  write('build/')
);

This task relies on array of files and provides [{ path, data, map }] output, see documentation for details.

Arguments

read(encoding)

  • encodingfs.readFile encoding option, utf-8 by default
npm i start-read

Metadata

  • MIT
  • >=4
  • Kir Belevich
  • released 12/25/2016

Downloads

Maintainers