From 489c0933e83dc62e9bc7ec23fae82d5d274e02f8 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Sun, 18 Sep 2016 22:08:43 -0700 Subject: [PATCH] Upgrade to babel 6 --- package.json | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 86eb616e..b4220d2b 100644 --- a/package.json +++ b/package.json @@ -2,13 +2,17 @@ "author": "Calvin Montgomery", "name": "CyTube", "description": "Online media synchronizer and chat", - "version": "3.21.4", + "version": "3.22.0", "repository": { "url": "http://github.com/calzoneman/sync" }, "license": "MIT", "dependencies": { - "babel": "^5.8.23", + "babel-cli": "^6.1.4", + "babel-core": "^6.1.4", + "babel-plugin-add-module-exports": "^0.2.1", + "babel-plugin-transform-es2015-destructuring": "^6.3.15", + "babel-preset-es2015": "^6.1.4", "bcrypt": "^0.8.5", "bluebird": "^2.10.1", "body-parser": "^1.14.0", @@ -52,5 +56,19 @@ }, "devDependencies": { "coffee-script": "^1.9.2" + }, + "babel": { + "presets": [ + "es2015" + ], + "plugins": [ + [ + "transform-es2015-destructuring", + { + "loose": true + } + ], + "add-module-exports" + ] } }