Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Commit

Permalink
Update enum definitions and dependencies
Browse files Browse the repository at this point in the history
* Remove redundant `bytes` from field definitions
* Remove "date-generated" given hand editing
* Remove ripple-lib test dependency
* Fix linting errors introduced by updated eslint/eslintrc
* Ensure STObject.toJSON returns a plain object
  • Loading branch information
sublimator committed May 11, 2016
1 parent fadf78a commit 5e940c6
Show file tree
Hide file tree
Showing 50 changed files with 62 additions and 278 deletions.
4 changes: 4 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets" : ["es2015"],
"retainLines": true
}
27 changes: 14 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,28 @@
"test": "test"
},
"dependencies": {
"babel-runtime": "^5.8.25",
"bn.js": "^3.2.0",
"babel-runtime": "^6.6.1",
"bn.js": "^4.11.3",
"create-hash": "^1.1.2",
"decimal.js": "^4.0.2",
"decimal.js": "^5.0.8",
"inherits": "^2.0.1",
"lodash": "^3.10.1",
"lodash": "^4.12.0",
"ripple-address-codec": "^2.0.1"
},
"devDependencies": {
"assert-diff": "^1.0.1",
"babel": "^5.8.20",
"babel-core": "^5.8.20",
"babel-eslint": "^4.0.5",
"babel-loader": "^5.3.2",
"babel-cli": "^6.8.0",
"babel-core": "^6.8.0",
"babel-eslint": "^6.0.4",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.6.0",
"babel-register": "^6.8.0",
"codecov.io": "^0.1.6",
"eslint": "^1.10.3",
"fs-extra": "^0.24.0",
"eslint": "^2.9.0",
"fs-extra": "^0.30.0",
"intercept-stdout": "^0.1.2",
"istanbul": "~0.3.5",
"mocha": "~2.1.0",
"ripple-lib": "^0.12.9"
"istanbul": "~0.4.3",
"mocha": "~2.4.5"
},
"scripts": {
"compile": "babel --optional runtime -d distrib/npm/ src/ && cp src/enums/definitions.json distrib/npm/enums",
Expand Down
2 changes: 0 additions & 2 deletions src/binary.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* eslint-disable func-style */

'use strict';

const types = require('./types');
const {HashPrefix} = require('./hash-prefixes');
const {BinaryParser} = require('./serdes/binary-parser');
Expand Down
2 changes: 0 additions & 2 deletions src/coretypes.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

const _ = require('lodash');
const enums = require('./enums');
const {Field} = enums;
Expand Down
Loading

0 comments on commit 5e940c6

Please sign in to comment.