diff --git a/packages/server/.flowconfig b/packages/server/.flowconfig new file mode 100644 index 0000000..28e9647 --- /dev/null +++ b/packages/server/.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/packages/server/package.json b/packages/server/package.json index 6b60eac..0851c6b 100644 --- a/packages/server/package.json +++ b/packages/server/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"