start-coveralls

2.0.0 • Public • Published

start-coveralls

npm linux build windows build coverage deps

Coveralls task for Start.

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)

Package Sidebar

Install

npm i start-coveralls

Weekly Downloads

1

Version

2.0.0

License

MIT

Last publish

Collaborators

  • deepsweet