Awesome
start-coveralls
Install
npm install --save-dev start-coveralls
# or
yarn add --dev start-coveralls
Usage
import Start from 'start';
import reporter from 'start-pretty-reporter';
import files from 'start-files';
import read from 'start-read';
import clean from 'start-clean';
import mocha from 'start-mocha';
import * as istanbul from 'start-istanbul';
import coveralls from 'start-coveralls';
const start = Start(reporter());
export const cover = () => start(
files('coverage/'),
clean(),
files('lib/**/*.js'),
istanbul.instrument(),
files('test/**/*.js'),
mocha(),
istanbul.report()
);
export const travis = () => start(
cover,
files('coverage/lcov.info'),
read(),
coveralls()
);
This task relies on [{ path, data, map }]
input and provides the same, see documentation for details.
Arguments
coveralls(options)
options
– coveralls options,{}
by default