diff --git a/.gitignore b/.gitignore index f028bb4a43..4569e8d725 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,7 @@ cli/dist/* cli/.test-dir/* cli/.flow-bins-cache/* cli/package-lock.json +cli/README.md # Editors .vscode diff --git a/cli/package.json b/cli/package.json index 3ed5f35587..760f01d711 100644 --- a/cli/package.json +++ b/cli/package.json @@ -2,13 +2,13 @@ "name": "flow-typed", "description": "A repository of high quality flow type definitions", "license": "MIT", - "homepage": "https://github.com/flow-typed/flow-typed#readme", + "homepage": "https://flow-typed.github.io/flow-typed", "repository": { "type": "git", "url": "git+https://github.com/flow-typed/flow-typed.git" }, "bugs": { - "url": "https://github.com/flow-typed/flow-typed/issues" + "url": "https://github.com/flow-typed/flow-typed/issues/new/choose" }, "version": "3.5.0", "main": "dist/cli.js", @@ -21,7 +21,8 @@ "clean": "rimraf dist", "flow": "flow", "lint": "eslint .", - "prepublish": "mkdirp dist && yarn test", + "prepare": "mkdirp dist && yarn test", + "prepublishOnly": "cp ../README.md .", "test": "yarn clean && yarn build && yarn test-quick", "test-quick": "jest && yarn lint && yarn flow", "watch": "mkdirp dist && babel --source-maps --watch=./src --out-dir=./dist"