Skip to content

Commit

Permalink
chore: initialize flow config and dependencies, add flow preset to babel
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hsing <hsing.daniel@gmail.com>
  • Loading branch information
Arthelon committed Jun 13, 2017
1 parent 632ae9c commit 325ef65
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .babelrc
Expand Up @@ -16,9 +16,10 @@
]
],
"presets": [
"es2015",
"es2016",
"es2017",
"react"
"flow",
"es2015",
"es2016",
"es2017",
"react"
]
}
7 changes: 7 additions & 0 deletions .flowconfig
@@ -0,0 +1,7 @@
[ignore]

[include]

[libs]

[options]
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -35,6 +35,7 @@
"babel-preset-es2015": "^6.13.2",
"babel-preset-es2016": "^6.16.0",
"babel-preset-es2017": "^6.16.0",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.11.1",
"babel-runtime": "^6.23.0",
"babelify": "^7.3.0",
Expand Down Expand Up @@ -106,6 +107,7 @@
"eslint": "^3.14.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-react": "^6.9.0",
"flow-bin": "^0.47.0",
"jsdoc": "^3.4.0",
"mocha": "^3.2.0",
"nightwatch": "^0.9.5",
Expand Down

0 comments on commit 325ef65

Please sign in to comment.