Rename gulp-bitcore to bitcore-build
This commit is contained in:
parent
38225d959a
commit
c54da1264f
43
README.md
43
README.md
|
@ -1,2 +1,41 @@
|
|||
# gulp-bitcore
|
||||
A helper to add tasks to gulp
|
||||
# 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', {skipBrosers: 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.
|
||||
|
||||
|
|
43
index.js
43
index.js
|
@ -1,25 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
var gulp = require('gulp');
|
||||
|
||||
var coveralls = require('gulp-coveralls');
|
||||
var gutil = require('gulp-util');
|
||||
var jshint = require('gulp-jshint');
|
||||
var mocha = require('gulp-mocha');
|
||||
var rename = require('gulp-rename');
|
||||
var runsequence = require('run-sequence');
|
||||
var shell = require('gulp-shell');
|
||||
var uglify = require('gulp-uglify');
|
||||
var bump = require('gulp-bump');
|
||||
var git = require('gulp-git');
|
||||
|
||||
function ignoreerror() {
|
||||
/* jshint ignore:start */ // using `this` in this context is weird
|
||||
this.emit('end');
|
||||
/* jshint ignore:end */
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @file gulpfile.js
|
||||
*
|
||||
|
@ -49,6 +27,27 @@ function ignoreerror() {
|
|||
* <li> `release` - automates release process (only for maintainers)
|
||||
* </ul>
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
var gulp = require('gulp');
|
||||
|
||||
var coveralls = require('gulp-coveralls');
|
||||
var gutil = require('gulp-util');
|
||||
var jshint = require('gulp-jshint');
|
||||
var mocha = require('gulp-mocha');
|
||||
var rename = require('gulp-rename');
|
||||
var runsequence = require('run-sequence');
|
||||
var shell = require('gulp-shell');
|
||||
var uglify = require('gulp-uglify');
|
||||
var bump = require('gulp-bump');
|
||||
var git = require('gulp-git');
|
||||
|
||||
function ignoreerror() {
|
||||
/* jshint ignore:start */ // using `this` in this context is weird
|
||||
this.emit('end');
|
||||
/* jshint ignore:end */
|
||||
}
|
||||
|
||||
function startGulp(name, opts) {
|
||||
|
||||
opts = opts || {};
|
||||
|
|
31
package.json
31
package.json
|
@ -1,24 +1,41 @@
|
|||
{
|
||||
"name": "gulp-bitcore",
|
||||
"version": "0.3.0",
|
||||
"description": "A helper for common tasks across bitcore modules'",
|
||||
"name": "bitcore-build",
|
||||
"version": "0.4.0",
|
||||
"description": "A helper for common tasks to build bitcore modules'",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "gulp test"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/bitpay/gulp-bitcore"
|
||||
"url": "git://github.com/bitpay/bitcore-build"
|
||||
},
|
||||
"keywords": [
|
||||
"bitcore"
|
||||
],
|
||||
"author": "Esteban Ordano",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Esteban Ordano",
|
||||
"email": "esteban@bitpay.com"
|
||||
},
|
||||
{
|
||||
"name": "Manuel Araoz",
|
||||
"email": "maraoz@bitpay.com"
|
||||
},
|
||||
{
|
||||
"name": "Braydon Fuller",
|
||||
"email": "braydon@bitpay.com"
|
||||
},
|
||||
{
|
||||
"name": "Yemel Jardi",
|
||||
"email": "yemel@bitpay.com"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/bitpay/gulp-bitcore/issues"
|
||||
"url": "https://github.com/bitpay/bitcore-build/issues"
|
||||
},
|
||||
"homepage": "https://github.com/bitpay/gulp-bitcore",
|
||||
"homepage": "https://github.com/bitpay/bitcore-build",
|
||||
"dependencies": {
|
||||
"brfs": "^1.2.0",
|
||||
"browserify": "~6.3.3",
|
||||
|
|
Loading…
Reference in New Issue