From 2b0537945b8d25b665366eb99754f652fbb9272d Mon Sep 17 00:00:00 2001 From: Lynn Date: Wed, 22 Mar 2017 10:24:34 -0700 Subject: [PATCH] add babel for testing with jest (#38) --- .babelrc | 3 +++ package.json | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .babelrc diff --git a/.babelrc b/.babelrc new file mode 100644 index 00000000..c13c5f62 --- /dev/null +++ b/.babelrc @@ -0,0 +1,3 @@ +{ + "presets": ["es2015"] +} diff --git a/package.json b/package.json index f043ddeb..ec9e7a29 100644 --- a/package.json +++ b/package.json @@ -61,6 +61,8 @@ "url": "https://support.symphony.com" }, "devDependencies": { + "babel-jest": "^19.0.0", + "babel-preset-es2015": "^6.24.0", "browserify": "^14.1.0", "cross-env": "^3.2.4", "electron": "1.5.1", @@ -78,6 +80,6 @@ "async": "^2.1.5", "electron-squirrel-startup": "^1.0.0", "keymirror": "0.1.1", - "winreg": "^1.2.3" + "winreg": "^1.2.3" } }