flow all the things

This commit is contained in:
Kent C. Dodds
2018-09-14 22:13:35 -06:00
parent 437ed30ddb
commit d43c846d12
6 changed files with 181 additions and 2 deletions

View File

@@ -5,16 +5,19 @@
"main": "index.js",
"scripts": {
"lint": "eslint src",
"flow": "flow",
"format": "npm run prettier -- --write",
"prettier": "prettier \"**/*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx)\"",
"validate": "npm run lint && npm run prettier -- --list-different"
"validate": "npm run lint && npm run prettier -- --list-different && npm run flow"
},
"keywords": [],
"author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
"license": "MIT",
"devDependencies": {
"babel-eslint": "^9.0.0",
"eslint": "^5.5.0",
"eslint-config-prettier": "^3.0.1",
"flow-bin": "^0.81.0",
"prettier": "^1.14.2"
}
}