remove soljson download task from packages

pull/3094/head
Iuri Matias 6 years ago
parent 9360511733
commit d20cb24fde
  1. 3
      remix-analyzer/package.json
  2. 3
      remix-debug/package.json
  3. 8
      remix-solidity/package.json

@ -28,8 +28,7 @@
}, },
"standard": { "standard": {
"ignore": [ "ignore": [
"node_modules/*", "node_modules/*"
"soljson.js"
], ],
"parser": "babel-eslint" "parser": "babel-eslint"
}, },

@ -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 @@
"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"
}, },

Loading…
Cancel
Save