Commit 06dabbe6 authored by Iuri Matias's avatar Iuri Matias

remove soljson download task from packages

parent 234cfc6a
...@@ -28,8 +28,7 @@ ...@@ -28,8 +28,7 @@
}, },
"standard": { "standard": {
"ignore": [ "ignore": [
"node_modules/*", "node_modules/*"
"soljson.js"
], ],
"parser": "babel-eslint" "parser": "babel-eslint"
}, },
......
...@@ -38,8 +38,7 @@ ...@@ -38,8 +38,7 @@
"scripts": { "scripts": {
"build": "mkdirp build; browserify index.js > build/app.js", "build": "mkdirp build; browserify index.js > build/app.js",
"lint": "standard | notify-error", "lint": "standard | notify-error",
"downloadsolc": "cd node_modules/solc && (test -e soljson.js || wget --no-check-certificate https://solc-bin.ethereum.org/soljson.js) && cd ..", "test": "standard && tape ./test/tests.js"
"test": "standard && npm run downloadsolc && tape ./test/tests.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
......
...@@ -29,15 +29,13 @@ ...@@ -29,15 +29,13 @@
"webworkify": "^1.2.1" "webworkify": "^1.2.1"
}, },
"scripts": { "scripts": {
"test": "standard && npm run downloadsolc && tape ./test/tests.js", "test": "standard && tape ./test/tests.js",
"downloadsolc": "cd node_modules/solc && (test -e soljson.js || wget --no-check-certificate https://solc-bin.ethereum.org/soljson.js) && cd ..", "downloadsolc": "cd node_modules/solc && (test -e soljson.js || wget --no-check-certificate https://solc-bin.ethereum.org/soljson.js) && cd ..",
"prepublish": "mkdirp build; npm-run-all -ls downloadsolc", "prepublish": "mkdirp build"
"postinstall": "npm-run-all -ls downloadsolc"
}, },
"standard": { "standard": {
"ignore": [ "ignore": [
"node_modules/*", "node_modules/*"
"soljson.js"
], ],
"parser": "babel-eslint" "parser": "babel-eslint"
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment