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.
|
A helper to add tasks to gulp.
|
||||||
|
|
||||||
|
@ -7,14 +7,14 @@ A helper to add tasks to gulp.
|
||||||
Install with:
|
Install with:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install bitcore-build
|
npm install bitcore-build-zcash
|
||||||
```
|
```
|
||||||
|
|
||||||
and use and require in your gulp file:
|
and use and require in your gulp file:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var gulp = require('gulp');
|
var gulp = require('gulp');
|
||||||
var bitcoreTasks = require('bitcore-build');
|
var bitcoreTasks = require('bitcore-build-zcash');
|
||||||
|
|
||||||
bitcoreTasks('submodule');
|
bitcoreTasks('submodule');
|
||||||
gulp.task('default', ['lint', 'test', 'browser', 'coverage']);
|
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
|
* 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:
|
* If the module is node-only, avoid adding the browser tasks with:
|
||||||
```javascript
|
```javascript
|
||||||
var bitcoreTasks = require('bitcore-build');
|
var bitcoreTasks = require('bitcore-build-zcash');
|
||||||
bitcoreTasks('submodule', {skipBrowsers: true});
|
bitcoreTasks('submodule', {skipBrowsers: true});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
2
index.js
2
index.js
|
@ -58,7 +58,7 @@ function startGulp(name, opts) {
|
||||||
var tests = ['test/**/*.js'];
|
var tests = ['test/**/*.js'];
|
||||||
var alljs = files.concat(tests);
|
var alljs = files.concat(tests);
|
||||||
|
|
||||||
var buildPath = './node_modules/bitcore-build/';
|
var buildPath = './node_modules/bitcore-build-zcash/';
|
||||||
var buildModulesPath = buildPath + 'node_modules/';
|
var buildModulesPath = buildPath + 'node_modules/';
|
||||||
var buildBinPath = buildPath + 'node_modules/.bin/';
|
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",
|
"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",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "gulp test"
|
"test": "gulp test"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git://github.com/bitpay/bitcore-build"
|
"url": "git://github.com/str4d/bitcore-build-zcash"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"bitcore"
|
"bitcore"
|
||||||
|
@ -33,9 +33,9 @@
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"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": {
|
"dependencies": {
|
||||||
"brfs": "^1.2.0",
|
"brfs": "^1.2.0",
|
||||||
"browserify": "~13.1.0",
|
"browserify": "~13.1.0",
|
||||||
|
|
Loading…
Reference in New Issue