diff --git a/package.json b/package.json index 099cd52..80574fa 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-copy-source -v src dist --ignore='*.spec.js'", + "build:flow": "flow gen-flow-files src --out-dir dist", "build": "npm run build:babel && npm run build:flow", "dev": "nodemon --quiet --watch src --exec 'npm run build'", "flow": "flow", @@ -60,7 +60,6 @@ "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",