From 7f746e06565cc3f1c6bb2724225577fadbded6ea Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Wed, 31 Jan 2018 14:01:52 -0500 Subject: [PATCH] fix soljson require issue when using browserify --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6310c5e9208..6af88987525 100644 --- a/package.json +++ b/package.json @@ -147,7 +147,7 @@ "build": "browserify src/index.js -o build/app.js", "browsertest": "sleep 5 && npm run nightwatch_local", "csslint": "csslint --ignore=order-alphabetical --errors='errors,duplicate-properties,empty-rules' --exclude-list='assets/css/font-awesome.min.css' assets/css/", - "downloadsolc": "rimraf soljson.js; wget https://ethereum.github.io/solc-bin/soljson.js", + "downloadsolc": "rimraf soljson.js && cd node_modules/remix-solidity/node_modules/solc && wget https://ethereum.github.io/solc-bin/soljson.js && cd ../../../../", "lint": "standard | notify-error", "make-mock-compiler": "node ci/makeMockCompiler.js", "minify": "uglifyjs --in-source-map inline --source-map-inline -c warnings=false",