Skip to content

Commit

Permalink
Fix upgrade to babel 6
Browse files Browse the repository at this point in the history
  • Loading branch information
ianobermiller committed Dec 9, 2015
1 parent 7cfbba2 commit 0669b5c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"stage": 0,
"plugins": ["flow-comments"],
"blacklist": ["flow"],
"loose": "all"
"plugins": [
"add-module-exports",
"transform-es2015-modules-commonjs",
"transform-decorators-legacy"
],
"presets": [
"es2015-loose",
"stage-1",
"react"
]
}
1 change: 1 addition & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.*/lib/.*
.*/node_modules/.*/node_modules/.*
.*/node_modules/babel-core/.*
.*/node_modules/babel-register/.*
.*/node_modules/babel-loader/.*
.*/node_modules/flow-bin/.*
.*/node_modules/inline-style-prefixer/.*
Expand Down
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,15 @@
"license": "MIT",
"dependencies": {
"array-find": "^1.0.0",
"babel": "^6.3.13",
"babel-cli": "^6.3.15",
"babel-core": "^6.3.15",
"babel-plugin-add-module-exports": "^0.1.1",
"babel-plugin-flow-comments": "^1.0.9",
"babel-plugin-transform-decorators-legacy": "^1.2.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.3.16",
"babel-preset-es2015-loose": "^6.1.3",
"babel-preset-react": "^6.3.13",
"babel-preset-stage-1": "^6.3.13",
"exenv": "^1.2.0",
"inline-style-prefixer": "^0.5.3",
"is-plain-object": "^2.0.1",
Expand Down

0 comments on commit 0669b5c

Please sign in to comment.