Zcash-ify
This commit is contained in:
parent
265a231820
commit
e62b7d8633
|
@ -1,4 +1,4 @@
|
|||
# bitcore-build
|
||||
# bitcore-build-zcash
|
||||
|
||||
A helper to add tasks to gulp.
|
||||
|
||||
|
@ -7,14 +7,14 @@ A helper to add tasks to gulp.
|
|||
Install with:
|
||||
|
||||
```sh
|
||||
npm install bitcore-build
|
||||
npm install bitcore-build-zcash
|
||||
```
|
||||
|
||||
and use and require in your gulp file:
|
||||
|
||||
```javascript
|
||||
var gulp = require('gulp');
|
||||
var bitcoreTasks = require('bitcore-build');
|
||||
var bitcoreTasks = require('bitcore-build-zcash');
|
||||
|
||||
bitcoreTasks('submodule');
|
||||
gulp.task('default', ['lint', 'test', 'browser', 'coverage']);
|
||||
|
@ -25,7 +25,7 @@ gulp.task('default', ['lint', 'test', 'browser', 'coverage']);
|
|||
* 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');
|
||||
var bitcoreTasks = require('bitcore-build-zcash');
|
||||
bitcoreTasks('submodule', {skipBrowsers: true});
|
||||
```
|
||||
|
||||
|
|
2
index.js
2
index.js
|
@ -58,7 +58,7 @@ function startGulp(name, opts) {
|
|||
var tests = ['test/**/*.js'];
|
||||
var alljs = files.concat(tests);
|
||||
|
||||
var buildPath = './node_modules/bitcore-build/';
|
||||
var buildPath = './node_modules/bitcore-build-zcash/';
|
||||
var buildModulesPath = buildPath + 'node_modules/';
|
||||
var buildBinPath = buildPath + 'node_modules/.bin/';
|
||||
|
||||
|
|
10
package.json
10
package.json
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
"name": "bitcore-build",
|
||||
"name": "bitcore-build-zcash",
|
||||
"version": "0.5.4",
|
||||
"description": "A helper for common tasks to build bitcore modules'",
|
||||
"description": "A helper for common tasks to build bitcore-zcash modules'",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "gulp test"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/bitpay/bitcore-build"
|
||||
"url": "git://github.com/str4d/bitcore-build-zcash"
|
||||
},
|
||||
"keywords": [
|
||||
"bitcore"
|
||||
|
@ -33,9 +33,9 @@
|
|||
],
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/bitpay/bitcore-build/issues"
|
||||
"url": "https://github.com/str4d/bitcore-build-zcash/issues"
|
||||
},
|
||||
"homepage": "https://github.com/bitpay/bitcore-build",
|
||||
"homepage": "https://github.com/str4d/bitcore-build-zcash",
|
||||
"dependencies": {
|
||||
"brfs": "^1.2.0",
|
||||
"browserify": "~13.1.0",
|
||||
|
|
Loading…
Reference in New Issue