diff --git a/.babelrc b/.babelrc new file mode 100644 index 00000000000..4c91886633e --- /dev/null +++ b/.babelrc @@ -0,0 +1,4 @@ +{ + "plugins": ["transform-runtime"], + "presets": ["es2015", "stage-1", "babel-polyfill"] +} diff --git a/package.json b/package.json index 57e35a696e7..c40708c3656 100644 --- a/package.json +++ b/package.json @@ -69,9 +69,9 @@ "email": "support@rocket.chat" }, "devDependencies": { + "babel-mocha-es6-compiler": "^0.1.0", + "babel-plugin-array-includes": "^2.0.3", "chimp": "^0.49.0", - "babel-mocha-es6-compiler": "^0.1.0", - "babel-plugin-array-includes": "^2.0.3", "eslint": "^3.19.0", "stylelint": "^7.10.1", "supertest": "^3.0.0"