Skip to content

Commit

Permalink
#2 Add flow workaround.
Browse files Browse the repository at this point in the history
  • Loading branch information
grigory-leonenko committed Feb 23, 2017
1 parent 49fd9bf commit 1fc4386
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"stage-0"
],
"plugins": [
"transform-async-to-generator"
"transform-async-to-generator",
"transform-flow-strip-types"
]
}
2 changes: 2 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[ignore]
.*/node_modules/.*
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"build:lib": "babel src --out-dir lib",
"build": "npm run clean && npm run build:lib",
"lint": "./node_modules/.bin/eslint src/",
"flow": "flow check src/",
"prepublish": "npm run build"
},
"repository": {
Expand Down Expand Up @@ -52,13 +53,16 @@
"babel-cli": "^6.23.0",
"babel-eslint": "^7.1.1",
"babel-plugin-transform-async-to-generator": "^6.22.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-preset-es2015": "^6.22.0",
"babel-preset-stage-0": "^6.22.0",
"eslint": "^3.16.1",
"eslint-config-airbnb": "^14.1.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.10.0",
"flow": "^0.2.3",
"flow-bin": "^0.39.0",
"rimraf": "^2.6.0"
}
}

0 comments on commit 1fc4386

Please sign in to comment.