embark-ganache-cli -> ganache-cli-embark

This commit is contained in:
Michael Bradley, Jr 2018-07-11 12:55:08 -05:00 committed by Iuri Matias
parent 1178cdf222
commit e0ff8a735d
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ class Simulator {
let cmds = []; let cmds = [];
const testrpc = shelljs.which('testrpc'); const testrpc = shelljs.which('testrpc');
const ganache = shelljs.which('embark-ganache-cli'); const ganache = shelljs.which('ganache-cli-embark');
if (!testrpc && !ganache) { if (!testrpc && !ganache) {
this.logger.warn(__('%s is not installed on your machine', 'Ganache CLI (TestRPC)')); this.logger.warn(__('%s is not installed on your machine', 'Ganache CLI (TestRPC)'));
this.logger.info(__('You can install it by running: %s', 'npm -g install ganache-cli')); this.logger.info(__('You can install it by running: %s', 'npm -g install ganache-cli'));

View File

@ -11,7 +11,7 @@
}, },
"bin": { "bin": {
"embark": "./bin/embark", "embark": "./bin/embark",
"embark-ganache-cli": "./node_modules/.bin/ganache-cli" "ganache-cli-embark": "./node_modules/.bin/ganache-cli"
}, },
"main": "./lib/index.js", "main": "./lib/index.js",
"directories": { "directories": {