add babel transformer
Showing
.babelrc
0 → 100644
... | ... | @@ -18,8 +18,25 @@ |
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.16.0", | ||
"babel-plugin-transform-es2015-block-scoping": "^6.15.0", | ||
"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", | ||
"babel-plugin-transform-es2015-block-scoping": "^6.18.0", | ||
"babel-plugin-transform-es2015-classes": "^6.18.0", | ||
"babel-plugin-transform-es2015-computed-properties": "^6.8.0", | ||
"babel-plugin-transform-es2015-destructuring": "^6.18.0", | ||
"babel-plugin-transform-es2015-duplicate-keys": "^6.8.0", | ||
"babel-plugin-transform-es2015-for-of": "^6.18.0", | ||
"babel-plugin-transform-es2015-function-name": "^6.9.0", | ||
"babel-plugin-transform-es2015-literals": "^6.8.0", | ||
"babel-plugin-transform-es2015-object-super": "^6.8.0", | ||
"babel-plugin-transform-es2015-parameters": "^6.18.0", | ||
"babel-plugin-transform-es2015-shorthand-properties": "^6.18.0", | ||
"babel-plugin-transform-es2015-spread": "^6.8.0", | ||
"babel-plugin-transform-es2015-sticky-regex": "^6.8.0", | ||
"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", | ||
"browserify": "^13.0.1", | ||
"ethereumjs-util": "^4.5.0", | ||
"http-server": "^0.9.0", | ||
... | ... | @@ -36,7 +53,7 @@ |
"start_node": "./runNode.sh", | ||
"start_eth": "npm run warning_message; eth -j --rpccorsdomain '*'", | ||
"start_geth": "npm run warning_message; geth --rpc --rpcapi 'web3,eth,debug' --rpcport 8545 --rpccorsdomain '*'", | ||
"build": "mkdir 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 build; browserify src/index.js -g yo-yoify -o build/app.js; babel build/app.js --out-file build/app.js", | ||
"test": "standard && tape ./test/tests.js", | ||
"serve": "http-server .", | ||
"nightwatch_local": "nightwatch --config nightwatch.js --env local", | ||
... | ... |
Please
register
or
sign in
to comment