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

This commit is contained in:
Michael Bradley, Jr 2018-07-11 12:55:08 -05:00 committed by Pascal Precht
parent 6203ad3530
commit 2784303145
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,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

@ -12,7 +12,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": {