Skip to content

Commit

Permalink
upgrade babel-core to 6.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Than Nguyen committed Oct 30, 2015
1 parent c0c5f3f commit 9f3149c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ module.exports = function (grunt) {
babel: {
compile: {
options: {
sourceMap: true
sourceMap: true,
presets: ['babel-preset-es2015']
},
files: {
'test/tmp/fixture-compiled.js': 'test/fixture.js'
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@
"babel"
],
"dependencies": {
"babel-core": "^5.0.0"
"babel-core": "^6.0.2"
},
"devDependencies": {
"babel-preset-es2015": "^6.0.11",
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"grunt-contrib-clean": "^0.6.0",
Expand Down
5 changes: 3 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Install

```
$ npm install --save-dev grunt-babel
$ npm install --save-dev grunt-babel babel-preset-es2015
```


Expand All @@ -20,7 +20,8 @@ require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks
grunt.initConfig({
babel: {
options: {
sourceMap: true
sourceMap: true,
presets: ['babel-preset-es2015']
},
dist: {
files: {
Expand Down

0 comments on commit 9f3149c

Please sign in to comment.