Skip to content

Commit

Permalink
back to babel plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
amarcruz committed Dec 19, 2015
1 parent 5848046 commit abb1898
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 3 deletions.
24 changes: 23 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,29 @@ install:
- npm i jade
- npm i babel@5.8
- npm i babel-core
- npm i babel-preset-es2015-riot

# babel presets
- npm i babel-plugin-transform-es2015-template-literals
- npm i babel-plugin-transform-es2015-literals
- npm i babel-plugin-transform-es2015-function-name
- npm i babel-plugin-transform-es2015-arrow-functions
- npm i babel-plugin-transform-es2015-block-scoped-functions
- npm i babel-plugin-transform-es2015-classes
- npm i babel-plugin-transform-es2015-object-super
- npm i babel-plugin-transform-es2015-shorthand-properties
- npm i babel-plugin-transform-es2015-computed-properties
- npm i babel-plugin-transform-es2015-for-of
- npm i babel-plugin-transform-es2015-sticky-regex
- npm i babel-plugin-transform-es2015-unicode-regex
- npm i babel-plugin-check-es2015-constants
- npm i babel-plugin-transform-es2015-spread
- npm i babel-plugin-transform-es2015-parameters
- npm i babel-plugin-transform-es2015-destructuring
- npm i babel-plugin-transform-es2015-block-scoping
- npm i babel-plugin-transform-es2015-typeof-symbol
- npm i babel-plugin-transform-es2015-modules-commonjs
- npm i babel-plugin-transform-regenerator

- npm i coffee-script
- npm i livescript
- npm i typescript-simple
Expand Down
23 changes: 21 additions & 2 deletions test/specs/parsers/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
{
"presets": [
"es2015-riot",
"plugins": [
"transform-es2015-template-literals",
"transform-es2015-literals",
"transform-es2015-function-name",
"transform-es2015-arrow-functions",
"transform-es2015-block-scoped-functions",
"transform-es2015-classes",
"transform-es2015-object-super",
"transform-es2015-shorthand-properties",
"transform-es2015-computed-properties",
"transform-es2015-for-of",
"transform-es2015-sticky-regex",
"transform-es2015-unicode-regex",
"check-es2015-constants",
"transform-es2015-spread",
"transform-es2015-parameters",
"transform-es2015-destructuring",
"transform-es2015-block-scoping",
"transform-es2015-typeof-symbol",
["transform-es2015-modules-commonjs", { "allowTopLevelThis": true }],
["transform-regenerator", { "async": false, "asyncGenerators": false }]
]
}

0 comments on commit abb1898

Please sign in to comment.