fix soljson require issue when using browserify

pull/1/head
Iuri Matias 7 years ago
parent 83bfad1c69
commit 7f746e0656
  1. 2
      package.json

@ -147,7 +147,7 @@
"build": "browserify src/index.js -o build/app.js", "build": "browserify src/index.js -o build/app.js",
"browsertest": "sleep 5 && npm run nightwatch_local", "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/", "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", "lint": "standard | notify-error",
"make-mock-compiler": "node ci/makeMockCompiler.js", "make-mock-compiler": "node ci/makeMockCompiler.js",
"minify": "uglifyjs --in-source-map inline --source-map-inline -c warnings=false", "minify": "uglifyjs --in-source-map inline --source-map-inline -c warnings=false",

Loading…
Cancel
Save