add standard reporter

pull/7/head
yann300 9 years ago
parent 2ef943bd58
commit 43443b6422
  1. 1
      .gitignore
  2. 6
      package.json
  3. 2
      src/opcodes.js
  4. 2
      src/txBrowser.js

1
.gitignore vendored

@ -1,3 +1,4 @@
build
node_modules
npm-debug.log
lint.xml

@ -21,12 +21,13 @@
"devDependencies": {
"babel-preset-react": "^6.5.0",
"babelify": "^7.2.0",
"standard": "^7.0.1"
"standard": "^7.0.1",
"standard-reporter": "^0.0.9"
},
"scripts": {
"start_node": "eth --rpccorsdomain \"*\" -j -v 0",
"build": "mkdir -p build; browserify -t [ babelify --presets [ react ] ] src/index.js -o build/app.js",
"test" : "standard"
"test" : "standard 2>&1 | standard-reporter > lint.xml"
},
"repository": {
"type": "git",
@ -39,7 +40,6 @@
},
"homepage": "https://github.com/ethereum/remix#readme",
"standard": {
"global": ["web3"],
"ignore": [
"node_modules/*",
"build/*"

@ -13,7 +13,7 @@ const codes = {
0x08: ['ADDMOD', 8, 3, 1, false],
0x09: ['MULMOD', 8, 3, 1, false],
0x0a: ['EXP', 10, 2, 1, false],
0x0b: ['SIGNEXTEND', 5, 1, 1, false],
0x0b: ['SIGNEXTEND', 5, 1, 1, false]
// 0x10 range - bit ops
0x10: ['LT', 3, 2, 1, false],

@ -21,7 +21,7 @@ module.exports = React.createClass({
this.setState({from: tx.from, to: tx.to, hash: tx.hash})
}
this.props.onNewTxRequested(this.state.blockNumber, parseInt(this.state.txNumber))
},
}
updateBlockN: function (ev) {
this.state.blockNumber = ev.target.value

Loading…
Cancel
Save