aboutsummaryrefslogtreecommitdiffstats
path: root/web/package.json
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-06-02 10:24:33 -0700
committerMaximilian Hils <git@maximilianhils.com>2016-06-02 10:24:33 -0700
commitd84610a41db70b073d2fbdbd36d7d12792cc9da3 (patch)
tree50935df0e07a1780a5aa0fd0e15647592121b466 /web/package.json
parent5e385405ca38aec56575be688d4906036f3bb650 (diff)
downloadmitmproxy-d84610a41db70b073d2fbdbd36d7d12792cc9da3.tar.gz
mitmproxy-d84610a41db70b073d2fbdbd36d7d12792cc9da3.tar.bz2
mitmproxy-d84610a41db70b073d2fbdbd36d7d12792cc9da3.zip
web: use object spread operator
While the spread operator is not part of ES6, React also uses it for JSX. It makes sense for us to keep it in other parts of the codebase as well.
Diffstat (limited to 'web/package.json')
-rw-r--r--web/package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/package.json b/web/package.json
index 2eaac445..88e976e1 100644
--- a/web/package.json
+++ b/web/package.json
@@ -30,6 +30,7 @@
"babel-core": "^6.7.7",
"babel-jest": "^12.0.2",
"babel-plugin-transform-class-properties": "^6.6.0",
+ "babel-plugin-transform-object-rest-spread": "^6.8.0",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babelify": "^7.3.0",