Skip to content

Commit

Permalink
include async/await
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 committed Jan 2, 2017
1 parent 6698a74 commit 4e6a55a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"plugins": ["check-es2015-constants",
"plugins": ["fast-async",
"check-es2015-constants",
"transform-es2015-arrow-functions",
"transform-es2015-block-scoped-functions",
"transform-es2015-block-scoping",
Expand All @@ -15,7 +16,6 @@
"transform-es2015-shorthand-properties",
"transform-es2015-spread",
"transform-es2015-sticky-regex",
"transform-es2015-template-literals",
"transform-es2015-unicode-regex",
"transform-regenerator"]
]
}
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@
"browser-test-remote-ie": "nightwatch --config nightwatch.js --env ie",
"browser-test-remote-safari": "nightwatch --config nightwatch.js --env safari",
"browser-test-remote-parallel": "nightwatch --config nightwatch.js --env safari,ie,default,chrome",
"build": "mkdir -p build; browserify src/index.js -g yo-yoify -o build/app.js; babel build/app.js --out-file build/app.js",
"build": "mkdir -p build; browserify src/index.js -g yo-yoify -o build/app.js -t [ babelify ]; babel --plugins=transform-es2015-template-literals build/app.js --out-file build/app.js",
"csslint": "csslint --ignore=order-alphabetical --errors='errors,duplicate-properties,empty-rules' --exclude-list='assets/css/font-awesome.min.css' assets/css/",
"downloadsolc": "rm soljson.js; wget https://ethereum.github.io/solc-bin/soljson.js",
"lint": "standard",
"serve": "http-server .",
"test": "node test/index.js"
"test": "standard; babel src --out-dir babelify-src; node test/index.js"
},
"devDependencies": {
"async": "^2.1.2",
"babel-cli": "^6.16.0",
"babel-eslint": "^7.1.1",
"babel-plugin-check-es2015-constants": "^6.8.0",
"babel-plugin-transform-es2015-arrow-functions": "^6.8.0",
"babel-plugin-transform-es2015-block-scoped-functions": "^6.8.0",
Expand All @@ -39,6 +40,7 @@
"babel-plugin-transform-es2015-template-literals": "^6.8.0",
"babel-plugin-transform-es2015-unicode-regex": "^6.11.0",
"babel-plugin-transform-regenerator": "^6.16.1",
"babelify": "^7.3.0",
"brace": "^0.8.0",
"browserify": "^13.0.0",
"csslint": "^1.0.2",
Expand All @@ -49,6 +51,7 @@
"ethereumjs-tx": "^1.1.1",
"ethereumjs-util": "^4.4.0",
"ethereumjs-vm": "^2.0.1",
"fast-async": "^6.1.2",
"http-server": "0.9.0",
"jquery": "^2.2.0",
"js-base64": "^2.1.9",
Expand Down Expand Up @@ -81,6 +84,7 @@
"build/",
"src/mode-solidity.js",
"soljson.js"
]
],
"parser": "babel-eslint"
}
}

0 comments on commit 4e6a55a

Please sign in to comment.