bin-wallet: fix bcoin wallet and add bin file to package.json

This commit is contained in:
Nodar Chkuaselidze 2018-02-15 16:31:42 +04:00 committed by Christopher Jeffrey
parent 2b0e5f5935
commit d25e553605
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@ if (process.argv.indexOf('--version') !== -1
throw new Error('Could not exit.');
}
const Node = require('../lib/wallet/server');
const Node = require('../lib/wallet/node');
const node = new Node({
config: true,

View File

@ -68,7 +68,8 @@
"bin": {
"bcoin": "./bin/bcoin",
"bcoin-node": "./bin/node",
"bcoin-spvnode": "./bin/spvnode"
"bcoin-spvnode": "./bin/spvnode",
"bcoin-wallet": "./bin/bwallet"
},
"scripts": {
"browserify": "browserify -s bcoin lib/bcoin-browser.js | uglifyjs -c > bcoin.js",