start-input-connector
v0.2.0
Published
Input connector task for Start
Downloads
12,164
Readme
start-input-connector
Input connector task for Start, helps to pass data through different tasks runners.
Install
npm install --save-dev start-input-connector
# or
yarn add --dev start-input-connector
Usage
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.