Skip to content

Commit

Permalink
Support ES2015 & Stage 0
Browse files Browse the repository at this point in the history
  • Loading branch information
piecioshka committed Dec 14, 2015
1 parent 801be01 commit 5fcacd5
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"presets": [
"es2015",
"stage-0"
]
}
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

> Test project which use Babel.js as ES6 compiler to write unit tests
**Support Babel ^5.8.29**

## Install
## Setup

```
npm install
Expand All @@ -18,6 +16,16 @@ Before you should have global installation of `jasmine` package.
npm test
```

## Support

Current support version:

- `Babel ^6.3.17`

Previously support:

- `Babel ^5.8.29`

## License

[The MIT License](http://piecioshka.mit-license.org)
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"test": "jasmine JASMINE_CONFIG_PATH=test/jasmine.json"
},
"devDependencies": {
"babel": "^5.8.29"
"babel-core": "^6.3.17",
"babel-preset-es2015": "^6.3.13",
"babel-preset-stage-0": "^6.3.13"
}
}
2 changes: 1 addition & 1 deletion test/jasmine.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"spec/test.*.es6.js"
],
"helpers": [
"../node_modules/babel/register.js"
"../node_modules/babel-core/register.js"
]
}

0 comments on commit 5fcacd5

Please sign in to comment.