diff --git a/README.md b/README.md index a89aaf6682847082b53466a3793c01f54588a2a8..c17fd08e2e487613c242a2efbde5722eccec7674 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,6 @@ to the git hooks for the project. Create a file called `.opt-in` in the root of the project with the contents: ``` -precommit prepush postmerge postrewrite @@ -48,11 +47,8 @@ postrewrite Or you can include only the hooks you would like to use. -### precommit -Run lint before committing - ### prepush -Run tests before pushing +Run lint before pushing ### postmerge `npm install` after merging diff --git a/package.json b/package.json index a094b12769ac3b837223a6f888767629e91660a0..16b2293a87d4368e0505719450d960f4dbfca0bd 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,7 @@ "lint": "eslint . --ext .js,.jsx", "postmerge": "opt --in postmerge --exec 'npm install'", "postrewrite": "opt --in postrewrite --exec 'npm install'", - "precommit": "opt --in precommit --exec 'npm run lint'", - "prepush": "opt --in prepush --exec 'npm run test'", + "prepush": "opt --in prepush --exec 'npm run lint'", "start": "webpack-dev-server --port $npm_package_config_port --content-base=./build", "test": "npm run lint && npm run build" },