From c0bdb4a9f09dc56c6af1844e669f14d7732c395f Mon Sep 17 00:00:00 2001 From: Fabien Motte Date: Sun, 12 Nov 2017 20:17:10 +0100 Subject: [PATCH] fix: move babel config in package.json --- .babelrc | 16 ---------------- package.json | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 .babelrc diff --git a/.babelrc b/.babelrc deleted file mode 100644 index 4d50636..0000000 --- a/.babelrc +++ /dev/null @@ -1,16 +0,0 @@ -{ - "presets": [ - "es2015" - ], - "plugins": [ - "add-module-exports" - ], - "env": { - "development": { - "sourceMaps": "inline", - "plugins": [ - "transform-runtime" - ] - } - } -} diff --git a/package.json b/package.json index f6dcc8a..2fd26e3 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,22 @@ "babelify" ] }, + "babel": { + "presets": [ + "es2015" + ], + "plugins": [ + "add-module-exports" + ], + "env": { + "development": { + "sourceMaps": "inline", + "plugins": [ + "transform-runtime" + ] + } + } + }, "standard": { "parser": "babel-eslint", "ignore": [