bin-wallet: fix bcoin wallet and add bin file to package.json
This commit is contained in:
parent
2b0e5f5935
commit
d25e553605
@ -19,7 +19,7 @@ if (process.argv.indexOf('--version') !== -1
|
|||||||
throw new Error('Could not exit.');
|
throw new Error('Could not exit.');
|
||||||
}
|
}
|
||||||
|
|
||||||
const Node = require('../lib/wallet/server');
|
const Node = require('../lib/wallet/node');
|
||||||
|
|
||||||
const node = new Node({
|
const node = new Node({
|
||||||
config: true,
|
config: true,
|
||||||
|
|||||||
@ -68,7 +68,8 @@
|
|||||||
"bin": {
|
"bin": {
|
||||||
"bcoin": "./bin/bcoin",
|
"bcoin": "./bin/bcoin",
|
||||||
"bcoin-node": "./bin/node",
|
"bcoin-node": "./bin/node",
|
||||||
"bcoin-spvnode": "./bin/spvnode"
|
"bcoin-spvnode": "./bin/spvnode",
|
||||||
|
"bcoin-wallet": "./bin/bwallet"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"browserify": "browserify -s bcoin lib/bcoin-browser.js | uglifyjs -c > bcoin.js",
|
"browserify": "browserify -s bcoin lib/bcoin-browser.js | uglifyjs -c > bcoin.js",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user