Input connector task for Start, helps to pass data through different tasks runners.
npm install --save-dev start-input-connector
# or
yarn add --dev start-input-connector
import Start from 'start';
import reporter from 'start-pretty-reporter';
import files from 'start-files';
import inputConnector from 'start-input-connector';
import eslint from 'start-eslint';
const start = Start(reporter());
const lint = (input) => start(
inputConnector(input),
eslint()
);
export const lintLib = () => start(
files([ 'lib/**/*.js' ]),
lint
);
export const lintTest = () => start(
files([ 'test/**/*.js' ]),
lint
);
See documentation for details.