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": [