summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.babelrc11
-rw-r--r--package.json11
2 files changed, 11 insertions, 11 deletions
diff --git a/.babelrc b/.babelrc
new file mode 100644
index 0000000000..48109eda11
--- /dev/null
+++ b/.babelrc
@@ -0,0 +1,11 @@
+{
+ "env": {
+ "electron": {
+ "presets": ["es2015", "stage-0", "react"],
+ "plugins": ["transform-runtime", "inline-react-svg"]
+ },
+ "development": {
+ "presets": ["react-native"]
+ }
+ }
+} \ No newline at end of file
diff --git a/package.json b/package.json
index 6de23c71bc..0dac2cfccb 100644
--- a/package.json
+++ b/package.json
@@ -68,17 +68,6 @@
"rimraf": "^2.5.4",
"sinon": "^3.2.1"
},
- "babel": {
- "env": {
- "electron": {
- "presets": ["es2015", "stage-0", "react"],
- "plugins": ["transform-runtime", "inline-react-svg"]
- },
- "development": {
- "presets": ["react-native"]
- }
- }
- },
"scripts": {
"android": "react-native run-android",
"postinstall": "electron-builder install-app-deps",