From 202488fde4aade8273bf8059172295ce62c1909e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tyll=20Wei=C3=9F?= Date: Wed, 8 Nov 2017 15:47:24 +0100 Subject: [PATCH] BUGFIX: Revert the switch to the internal flow gen-flow-files command to reduce the number of dependencies This reverts commit fb11dff3cf25d06242af91f06aeb6cb7d197603e. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 80574fa..099cd52 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "jest:coverage": "npm run jest -- --coverage", "build:clean": "rimraf dist", "build:babel": "babel src --out-dir dist --ignore spec.js", - "build:flow": "flow gen-flow-files src --out-dir dist", + "build:flow": "flow-copy-source -v src dist --ignore='*.spec.js'", "build": "npm run build:babel && npm run build:flow", "dev": "nodemon --quiet --watch src --exec 'npm run build'", "flow": "flow", @@ -60,6 +60,7 @@ "babel-cli": "^6.26.0", "eslint": "^4.9.0", "flow-bin": "^0.58.0", + "flow-copy-source": "^1.2.1", "flow-typed": "^2.2.1", "husky": "^0.14.3", "jest": "^21.0.2",