Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Commit

Permalink
update babel to v6
Browse files Browse the repository at this point in the history
  • Loading branch information
neilhem committed Nov 24, 2015
1 parent 13363a5 commit 85552cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ module.exports = function (grunt) {
// Compiles ES6 with Babel
babel: {
options: {
sourceMap: true
sourceMap: true,
presets: ['es2015']
},
dist: {
files: [{
Expand Down
5 changes: 4 additions & 1 deletion app/templates/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
"private": true,
"devDependencies": {
"autoprefixer": "^6.0.2",
<% if (useBabel) { -%>
"babel-preset-es2015": "^6.1.18",
<% } -%>
"grunt": "^0.4.5",
<% if (useBabel) { -%>
"grunt-babel": "^5.0.0",
"grunt-babel": "^6.0.0",
<% } -%>
"grunt-browser-sync": "^2.1.2",
"grunt-concurrent": "^1.0.0",
Expand Down

0 comments on commit 85552cd

Please sign in to comment.