diff --git a/package.json b/package.json index c197dceb..e6fdc608 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "main": "dist/material.min.js", "devDependencies": { "acorn": "^4.0.3", - "babel-core": "^5.8.25", + "babel-core": "^6.20.0", + "babel-preset-es2015": "^6.18.0", "browser-sync": "^2.2.3", "chai": "^3.3.0", "chai-jquery": "^2.0.0", @@ -67,6 +68,9 @@ "test": "gulp && git status | grep 'working directory clean' >/dev/null || (echo 'Please commit all changes generated by building'; exit 1)" }, "babel": { - "only": "gulpfile.babel.js" + "only": "gulpfile.babel.js", + "presets": [ + "es2015" + ] } }