diff --git a/.flowconfig b/.flowconfig new file mode 100644 index 0000000..28e9647 --- /dev/null +++ b/.flowconfig @@ -0,0 +1,24 @@ +[ignore] +.*/node_modules/.* +.*/src/serviceWorker\.js +.*/src/index\.js +.*\.test +.*/server/node_modules/.* +.*/server/test/.* +.*/server/knexfile\.js +.*/public/.* + +[include] + +[libs] + +[lints] + +[options] +; all=true + +[strict] + +[untyped] +.*\.scss +.*\.css \ No newline at end of file diff --git a/package.json b/package.json index 6b60eac..0851c6b 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", - "flow": "flow", + "flow": "./node_modules/.bin/flow flow", "predeploy": "REACT_APP_ENVIRONMENT=production npm run build"