@abcpros/bitcore-build 中文文档教程
Bitcore Build
将任务添加到 gulp 的助手。
Getting started
安装方式:
npm install bitcore-build
并在您的 gulp 文件中使用和要求:
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
请参阅 CONTRIBUTING.md 在主 bitcore repo 上,以获取有关如何贡献的信息。
License
代码根据 MIT 许可证发布。
版权所有 2013-2019 BitPay, Inc. Bitcore 是 BitPay, Inc. 维护的商标。
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.