Automatically run flow on build

This commit is contained in:
uwap 2017-10-27 16:40:42 +02:00
parent a65e937623
commit d1dd22eb5d
4 changed files with 32 additions and 8 deletions

View file

@ -4,7 +4,8 @@
"author": "uwap <me@uwap.name>",
"description": "react",
"scripts": {
"build": "webpack --bail"
"build": "webpack --bail",
"watch": "webpack --watch"
},
"dependencies": {
"babel-preset-env": "^1.6.0",
@ -25,7 +26,8 @@
"babel-preset-react": "^6.24.1",
"flow": "^0.2.3",
"flow-bin": "^0.50.0",
"webpack": "^3.1.0"
"webpack": "^3.1.0",
"webpack-shell-plugin": "^0.5.0"
},
"license": "MIT"
}