Merge pull request #26 from chriseth/travis

Add travis config.
pull/7/head
chriseth 9 years ago
commit 71cd5801aa
  1. 1
      .npmignore
  2. 3
      .travis.yml
  3. 4
      package.json
  4. 2
      src/opcodes.js
  5. 2
      src/txBrowser.js

@ -0,0 +1 @@
.travis.yml

@ -0,0 +1,3 @@
language: node_js
node_js:
- stable

@ -22,12 +22,12 @@
"babel-preset-react": "^6.5.0",
"babelify": "^7.2.0",
"standard": "^7.0.1",
"standard-reporter": "^0.0.9"
"standard-reporter": "^1.0.5"
},
"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 2>&1 | standard-reporter > lint.xml"
"test" : "standard"
},
"repository": {
"type": "git",

@ -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