From e09859c02ff15927a9ef76cb9daf4ecee9c45f91 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 8 Nov 2016 11:18:39 +0100 Subject: [PATCH] babel - transform param --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7ea6057e13..e8fa07857d 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "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 --plugins babel-plugin-transform-es2015-template-literals,babel-plugin-transform-es2015-block-scoping build/app.js --out-file build/app.js", + "build": "mkdir -p build; browserify src/index.js -g yo-yoify -o build/app.js; babel --plugins babel-plugin-transform-es2015-template-literals,babel-plugin-transform-es2015-block-scoping,babel-plugin-transform-es2015-parameters 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", @@ -20,6 +20,7 @@ "async": "^2.1.2", "babel-cli": "^6.16.0", "babel-plugin-transform-es2015-block-scoping": "^6.15.0", + "babel-plugin-transform-es2015-parameters": "^6.18.0", "babel-plugin-transform-es2015-template-literals": "^6.8.0", "brace": "^0.8.0", "browserify": "^13.0.0",