Use es7 decorator syntax for cached methods

This commit is contained in:
Nicholas Dudfield
2015-08-05 19:07:18 +07:00
parent bcde54d258
commit d26bca3208
6 changed files with 170 additions and 168 deletions

View File

@@ -14,7 +14,7 @@
"test": "test"
},
"dependencies": {
"babel-runtime": "^5.3.2",
"babel-runtime": "^5.8.20",
"bn.js": "^3.1.1",
"brorand": "^1.0.5",
"elliptic": "^5.1.0",
@@ -23,9 +23,10 @@
},
"devDependencies": {
"assert-diff": "^1.0.1",
"babel": "^5.3.3",
"babel-core": "^5.3.2",
"babel-loader": "^5.0.0",
"babel": "^5.8.20",
"babel-core": "^5.8.20",
"babel-eslint": "^4.0.5",
"babel-loader": "^5.3.2",
"coveralls": "~2.10.0",
"eslint": "^1.0.0",
"eventemitter2": "^0.4.14",
@@ -45,7 +46,7 @@
"prepublish": "npm test && npm run lint && npm run compile",
"test": "istanbul test _mocha",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"lint": "if ! [ -f eslintrc ]; then curl -o eslintrc 'https://raw.githubusercontent.com/ripple/javascript-style-guide/es6/eslintrc'; fi; eslint -c eslintrc src/*.js test/*.js"
"lint": "if ! [ -f eslintrc ]; then curl -o eslintrc 'https://raw.githubusercontent.com/ripple/javascript-style-guide/es6/eslintrc'; echo 'parser: babel-eslint' >> eslintrc; fi; eslint -c eslintrc src/*.js test/*.js"
},
"repository": {
"type": "git",