mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Use es7 decorator syntax for cached methods
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user