From b32d926b56fe7a7161320bbfe38480c44c837735 Mon Sep 17 00:00:00 2001 From: bartvde Date: Fri, 23 Jun 2017 15:47:15 +0200 Subject: [PATCH] Move babel config out of package.json --- .babelrc | 4 ++++ package.json | 9 --------- 2 files changed, 4 insertions(+), 9 deletions(-) create mode 100644 .babelrc diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..47c9ace --- /dev/null +++ b/.babelrc @@ -0,0 +1,4 @@ +{ + "presets": ["es2015", "react"], + "plugins": ["transform-object-rest-spread"] +} diff --git a/package.json b/package.json index ebf64f7..5a709b4 100644 --- a/package.json +++ b/package.json @@ -53,15 +53,6 @@ "request": "^2.79.0", "url": "^0.11.0" }, - "babel": { - "presets": [ - "es2015", - "react" - ], - "plugins": [ - "transform-object-rest-spread" - ] - }, "jshintConfig": { "esversion": 6 },