From a2f283379d17bbf00995cf8db935a594b91e01dc Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 26 May 2017 17:25:00 +0200 Subject: Add testrpc as a dependency and a command for running it --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 48a26fd48..5f7b7014a 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "docs:json": "typedoc --json docs/index.json .", "docs:generate": "typedoc --out docs .", "docs:open": "opn docs/index.html", - "update_contracts": "for i in ${npm_package_config_artifacts}; do copyfiles -u 4 ./../contracts/build/contracts/$i.json ./../0x.js/src/artifacts; done;" + "update_contracts": "for i in ${npm_package_config_artifacts}; do copyfiles -u 4 ./../contracts/build/contracts/$i.json ./../0x.js/src/artifacts; done;", + "testrpc": "testrpc -p 8545 --networkId 50" }, "config": { "artifacts": "Proxy Exchange TokenRegistry Token Mintable EtherToken" @@ -47,6 +48,7 @@ "chai-as-promised": "^6.0.0", "chai-bignumber": "^2.0.0", "copyfiles": "^1.2.0", + "ethereumjs-testrpc": "^3.0.5", "json-loader": "^0.5.4", "mocha": "^3.4.1", "npm-run-all": "^4.0.2", -- cgit