An open API service indexing awesome lists of open source software.

https://github.com/bitpay/bitcore-build

A helper to add tasks to gulp
https://github.com/bitpay/bitcore-build

Last synced: about 1 year ago
JSON representation

A helper to add tasks to gulp

Awesome Lists containing this project

README

          

# bitcore-build

A helper to add tasks to gulp.

## Getting started

Install with:

```sh
npm install bitcore-build
```

and use and require in your gulp file:

```javascript
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:
```javascript
var bitcoreTasks = require('bitcore-build');
bitcoreTasks('submodule', {skipBrowsers: true});
```

## Contributing

See [CONTRIBUTING.md](https://github.com/bitpay/bitcore) on the main bitcore repo for information about how to contribute.

## License

Code released under [the MIT license](https://github.com/bitpay/bitcore/blob/master/LICENSE).

Copyright 2015 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.