Re-add babel runtime (#9)

This commit is contained in:
Jaco Greeff
2017-11-20 23:55:42 +01:00
committed by GitHub
parent 939e47eaf7
commit d542839956
2 changed files with 935 additions and 22 deletions
+931 -13
View File
File diff suppressed because it is too large Load Diff
+4 -9
View File
@@ -25,7 +25,7 @@
"homepage": "https://github.com/polkadot-js/util#readme",
"scripts": {
"build": "npm run build:js && npm run build:md",
"build:js": "rimraf lib && babel src --out-dir build --ignore *.spec.js",
"build:js": "rimraf build && babel src --out-dir build --ignore *.spec.js",
"build:md": "polkadot-dev-build-docs",
"check": "npm run check:lint && npm run check:flow",
"check:flow": "flow check",
@@ -33,16 +33,11 @@
"test": "cross-env NODE_ENV=test babel-istanbul cover _mocha 'src/*.spec.js' 'src/**/*.spec.js'"
},
"devDependencies": {
"@polkadot/dev": "^0.1.5",
"@polkadot/jsonrpc": "^0.3.4",
"babel-istanbul": "^0.12.2",
"chai": "^4.1.2",
"cross-env": "^5.1.1",
"mocha": "^4.0.1",
"sinon": "^4.1.2",
"sinon-chai": "^2.14.0"
"@polkadot/dev": "^0.1.7",
"@polkadot/jsonrpc": "^0.3.5"
},
"dependencies": {
"babel-runtime": "^6.26.0",
"bn.js": "^4.11.8",
"keccak": "^1.3.0"
}