Skip to content

Files

Latest commit

Apr 15, 2020
9e7f882 · Apr 15, 2020

History

History
This branch is 15 commits ahead of, 2645 commits behind bitpay/bitcore:master.

bitcore-build

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 21, 2020
Feb 21, 2020
Feb 21, 2020
Feb 21, 2020
Mar 13, 2020
Feb 21, 2020
Apr 15, 2020
Apr 15, 2020

Bitcore Build

A helper to add tasks to gulp.

Getting started

Install with:

npm install bitcore-build

And use and require in your gulp file:

var gulp = require('gulp');
var bitcoreTasks = require('bitcore-build');

bitcoreTasks('submodule');
gulp.task('default', ['lint', 'test', 'browser', 'coverage']);

Notes

  • There's no default task to allow for each submodule to set up their own configuration
  • If the module is node-only, avoid adding the browser tasks with:
var bitcoreTasks = require('bitcore-build');
bitcoreTasks('submodule', {skipBrowsers: true});

Contributing

See CONTRIBUTING.md on the main bitcore repo for information about how to contribute.

License

Code released under the MIT license.

Copyright 2013-2019 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.